$("#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/
