[web2py] Re: submit form via ajax ... outside of form

2014-11-10 Thread Niphlod
in html and javascript there's no "one way to do it". you can come up with a lot of solutionsbut for this particular case, I'd either trigger a submit event on the form or a click on the "original" submit button. On Monday, November 10, 2014 10:35:43 PM UTC+1, weheh wrote: > > I think I just

[web2py] Re: submit form via ajax ... outside of form

2014-11-10 Thread weheh
I think I just came up with a stupid simple way to do this. Just hide the regular submit button and trigger("click") on it when the other button is pressed. What do you think? On Monday, November 10, 2014 1:25:49 PM UTC-8, weheh wrote: > > I wish to create an ajax button that is outside the ..