I asked this question about how to make elements like div
element get focus, and the answer there really helped me a lot. But I can't make IE8 understand about it. I don't know what's wrong here. My method is to use tabindex='x'
on my div
element and then through jQuery, set in under focus using $('#divId').focus()
. This works like a charm in ALL browsers, but fails to respond in IE8 (no bug, just doesn't work).
Anyone has any idea? Thanks