Re: [jQuery] super easy jquery question

2009-12-01 Thread HS8KIC
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 = ''; }); ??? ??? ??? ??? ??? //

Re: [jQuery] super easy jquery question

2009-12-01 Thread Dhruva Sagar
$('#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'