you can do this.
??? ??? ??? ??? ??? // reset input type text
??? ??? ??? ??? ??? $('#form_id input[type=text]').each(function(){
this.value = ''; });
??? ??? ??? ??? ??? // reset textarea
??? ??? ??? ??? ??? $(''#form_id textarea').each(function(){ this.value
= ''; });
??? ??? ??? ??? ??? //
$('#subject').val("");
Thanks & Regards,
Dhruva Sagar.
On Tue, Dec 1, 2009 at 1:41 PM, mike wrote:
> After I have processed a user request from a form submittal, I want to
> remove the text from a text field. With JQuery, how do I do
> that? The input field has the id of #subject.
>
> I'
2 matches
Mail list logo