> 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?
No. The jQuery selectors work the same way they do outside of forms - there is no filtering of inputs, etc. Passing jqForm as the 2nd arg to the $() function is telling jQuery to look only at elements within the form. The line you provided should work if there is an element with the id of "response" within the form. If that div is outside of the form then just get rid of the 2nd arg altogether. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/