Hi,

I was playing with the starterkit:

http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery

I got stuck in the following section, couldn't make it work:

 $(document).ready(function() {
   // use this to reset a single form
   $("#reset").click(function() {
     $("#form").reset();
   });
 });

I modified the values of the form's fields and when I clicked on the
Reset link, nothing happened, I tried it in Firefox (Linux and
windows) and ie 7.

I updated to the latest jquery.js and this time firebug says there is
an error:

$("#form").reset is not a function

So, am I doing something wrong or should I ignore that section of the
tutorial?

Thanks in advance,

JJ

Reply via email to