In jQuery, is it possible for an element to act like it is mouseovered automatically when the page is loading, when it is not really mouseovered? I mean, I won't put my pointer on the desired element for it to do what it would do if I put.
Asked
Active
Viewed 4.3k times
3 Answers
2
Put the desired action in the document.ready
function as that is when you actually want the action, not on a mouse-over that doesn't happen.

Michael Durrant
- 93,410
- 97
- 333
- 497