javascript - My resetActive is not working -


why resetactive call not work, background yellow pulls resetactive not. here code:

$(document, "#reloadpage").on('mouseover', function() { resetactive() $("#reloadpage").css("background-color","yellow"); }); 

why resetactive call not work?

css:

#reloadpage:hover {     background-color: yellow } 

javascript:

$('#reloadpage').on('mouseover', function () {     resetactive(); }); 

Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -

php - Accessing static methods using newly created $obj or using class Name -