javascript - Why doesn't my JQuery code work? -


I have some code that does not seem to work. I would have thought that it should give me instant scrolls immediately, but no. Can anyone tell me what is wrong with it?

  $ (document) .ready (function () {$ (document) .scroll (function () {alert ("hi!");)}}}); Syntax error with bracket line 4 - Correct code:  
   

$ (document) .ready (function () {$ (document) .scroll (function () {alert ("hi!");});});



Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -