[jQuery] Re: From plugin and submit

2009-03-02 Thread Mike Alsup
> $('#myform').submit(function() { >         $(this).ajaxSubmit({ >                 url:        '/some/generated/value', >         }); >         return false; > > }); > > Which works fine, except the value of the submit button is not sent to the > server. As I test for this value server side, it i

[jQuery] Re: From plugin and submit

2009-03-02 Thread Kaare Rasmussen
Mandag 02 marts 2009 19:01:26 skrev Mike Alsup: > Yes, use ajaxForm instead of ajaxSubmit. Note that with ajaxForm you > do *not* bind the submit event. Thanks. Bad RTFM from my side.