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

iphone - Three second countdown in cocos2d -

hyperlink - how to do url routing in php -

c - Avoiding Extra Malloc in Linked List (node->next = NULL) -