[jQuery] Empty each text field

[jQuery] Empty each text field


I want to empty every text field in a given form. So far this isn't working:
    $('input[@type="text"]').each(function(){ this.val = ""; });
--
View this message in context: http://www.nabble.com/Empty-each-text-field-tf2824412.html#a7884125
Sent from the JQuery mailing list archive at Nabble.com.
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/