[jQuery] AjaxSubmit();
[jQuery] AjaxSubmit();
I was just trying to use ajaxSubmit in my code:
$(document).ready(function() {
$('#comment_add').ajaxSubmit();
});
However, this fires off the ajax request as soon as I enter the page.
But when I look at the sampel here:
http://be.twixt.us/jquery/formSubmission.php it does not happen..
I have the jquery-svn.js version, is there a difference here or am I doing
it wrong?
I tried attaching it to <form
onsubmit="$('#comment_add').ajaxSubmit();return false;"> but that doesn't
work either.
Thanks
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/