Well then you can clear only select elements like this.
$('#FORMID > [EMAIL PROTECTED]').attr('value','');
$('#FORMID > [EMAIL PROTECTED]').attr('value','');
$('#FORMID > [EMAIL PROTECTED]').attr('value','');
only use this approach if you have to.
Its better to use the form plugin.
-Lquid


malsup wrote:
> 
>> $('#FORMID > [EMAIL PROTECTED]').attr('value','');
>> I have not tested he above code for acuraccy but it should work even if
>> you
>> are using basic jQuery.
> 
> I would not recommend this approach.  You'll clear the value from
> inputs that should not be cleared, such as hidden inputs, checkboxes,
> and radios.  And you'll miss elements that should be cleared, like
> textareas and select elements.
> 
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Quickest-way-to-clearALL-form-elements-after-Ajax-submit-tf3177881.html#a8825168
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to