> Can anyone tell me how to solve this? The code you have should work fine if it's moved to a doc-ready function. But you can simplify it even more with ajaxForm:
$(function() { $('#myForm').ajaxForm( { target: '#myForm' }); }); Remember, you need to wait for doc-ready before accessing dom elements. Mike _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/