Try using tabindex attribute on your div, see:
Check this post for more information and demo.
More Related Contents:
- When we using alert vs popup div tag? [closed]
- Download the text over image using jquery
- Javascript: How to force the user to click on select
- How to change the href attribute for a hyperlink using jQuery
- jQuery Get Selected Option From Dropdown
- How to take screenshot of a div with JavaScript?
- Force browser to download image files on click
- Event detect when css property changed using Jquery
- How to silently hide “Image not found” icon when src source image is not found
- How to close an open collapsed navbar when clicking outside of the navbar element in Bootstrap 3?
- Use images like checkboxes
- How to manually trigger validation with jQuery validate?
- Setting CSS value limits of the window scrolling animation
- How to find a parent with a known class in jQuery?
- Generic way to detect if html form is edited
- how to move a div with arrow keys
- Selecting multiple from an html select element without using ctrl key
- Scale element proportional to Background Cover with jQuery
- how to assign javascript variable value to php variable
- Anchor tag download attribute not working :Bug in Chrome 35.0.1916.114
- Bootstrap Dropdown with Hover
- Preloading images in HTML
- Get value from text area [duplicate]
- How to scroll a select list with JavaScript or jQuery?
- Passing parameters to a JQuery function
- How to keep elements non-refreshed
- How do you swap DIVs on mouseover (jQuery)?
- jQuery selector to target any class name (of multiple present) starting with a prefix?
- Can I save input from form to .txt in HTML, using JAVASCRIPT/jQuery, and then use it?
- Validate Dynamically Added Input fields