lupa@stromox.com
password123
Note: Really important to read the whole question because I know there's many look-alike out there but that don't answer it, so before saying "possible duplication of bla bla bla", read and understand.
Explanation: When I refresh this jsfiddle with my mouse over the tag a
and don't move, it does the event like I want but when I use that same code on my file, Test.html, and try to do replicate, it just doesn't work untill I click or move around.
Question: How can I make it (with Javascript, no jQuery) so that on document/page load/refresh it checks if the mouse is on the element and if so, change the style.
P.S.: I noticed that most questions related with this are some years old and that don't work to me. Most of the sites work in terms of doing events/changing the style of things when I refresh with the mouse hovering something and not moving. I don't understand what I'm mising.