KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
There seems to be a problem when setting focus to an element using jquery. It apparently does not trigger the :focus css property set on an element. For example in my css I have: div.item1:focus { border:2px solid red; } in my jquery I have: $("div.item1").focus(); The focus is set but there is no red border applied to the element.
Tags (comma-separated)
Save Edits
Cancel