Thanks Erik, I completely missed the fact that you'd responded. **sheepish grin**
I appreciate the help. :o)

Chris

Erik Beeson wrote:
You don't want empty(), you want to set the value of the textarea to an empty string. Try (untested):

$("#id").val("");

empty() is for removing child elements. See the documentation for more info.

--Erik

On 11/14/06, Christopher Jordan <[EMAIL PROTECTED]> wrote:
Hi folks,

I'm trying to do what I thought was pretty simple:

    $("#id").empty();

where "#id" is the id of a textarea. I'd like to clear out the text area when my ajax call returns.

What am I doin' wrong?

Thanks,
Chris


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




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


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

Reply via email to