On Tuesday 10 February 2009, mkmanning wrote:
> For the second argument use $(form).serialize()
>
> You should also use onsubmit="return CheckForm0(this);"
> although the best practice would be to remove the inline script and
> bind
> the submit event like this:
> $('form').submit(function(){
> //do your ajax here and return false
> });
But what would bind the form in your example? I frequently
work with multiple forms. I.E. is 'form' in your $.submit()
above the name or ID of the form or is it an object from which
name or ID could be extracted as a property.
Thanks
Tim