Saturday, November 17, 2012

jquery – Keyup doesnt respond

I don\’t know what the hell is going on.


Why isn\’t my simple javascript code working? Been here for hours. I have a bunch of other javascript, was thinking if it\’s interrupting or something?


Trying to through a tutorial, then I got stuck at the first line:



$(\'#name\').keyup(function() {
alert(\'alert\');
});


I don\’t know the problem.. in fiddle it\’s all working of course

http://jsfiddle.net/pgWtK/1/


I tried putting it inside the head with document ready but that doesn\’t help so, any clues?






Rating: 4 out of 5 based on 5 ratings



The post jquery – Keyup doesnt respond appeared first on Javascript ASK.






via Javascript ASK http://javascriptask.phpfogapp.com/jquery-keyup-doesnt-respond.html

No comments:

Post a Comment