Am I right if I say that this only applies to input types that is submitted
with the form? I've tried to get to a div with id="response":
$('#response', jqForm).appendTo("Error message");
return false;

but in vain. I can write to a input element but not anything else, right?

On 1/30/07, Mike Alsup <[EMAIL PROTECTED]> wrote:

> Is there anyway to reference an element in the request page?

Sure.  Just use the jqForm argument.  For instance, if you need to
reference an element that has a name attribute of 'username' you would
write:

var element = jqForm[0].username;

You can also perform normal jQuery selections within the context of
the form.  So if you need all the checkboxes on the form you could do
this:

var $checkboxes = $(':checkbox', jqForm);

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

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

Reply via email to