I try to apply the style when the mouseenter event mouseenter , but if I uncomment the next untouched selector, even the document is ready to go.
 <body> <div id="1" class="button untouched"></div> <script src="/jquery.js"></script> <script> $(document).ready(function(){ alert("JQuery is working"); });  </script> </body> 
I am following an example found at:
http://api.jquery.com/mouseenter/
And I get the following error in Firebug :
 missing ) after argument list [Break On This Error] $(".untouched").mouseenter($function(){ 
Since this does not work, I made a mistake, but I do not know what. All I know is that none of my codes work if I let this run. I downloaded the latest version of jQuery version 1.7.2, which, as I know, is available on the page because alert() working with another comment.
source share