.keyup(function()) don't work for me...nedd some help
Okay, so I'm learning jQuery and using it under Ruby on Rails. In my index.html.erb file I have this:
<input id="target" type="text" value="Hello there">
And then in my script.js, I have this:
$( "#target" ).keyup(function() {
alert( "Handler for .keyup() called." );
However, when I type something in the input box, nothing happens...no errors either.