Chris Domigan schrieb:
> Mungbeans - remember "this" in the context you are using it is a normal 
> DOM node, so you can't use jQuery methods like .val on it. You can do 
> $(this).val() instead.


In that case I'd rather use this.value = ''

That saves a nearly needless jQuery object creation. But Blair's suggestion

$('[EMAIL PROTECTED]"text"]').val("");

is more elegant anyway.


-- Klaus




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

Reply via email to