With jQuery, I think you just have to do something like the following (but
check the docs first http://api.jquery.com/jQuery.post/ ):
var form_vars = jQuery('#myform').serialize();
jQuery.post(url, form_vars, function() {
alert('POST was successful');
});
SHould be doable. For Ajax form submission:
http://web2py.com/book/default/chapter/10#Ajax-Form-Submission
The "Voting & Rating" shows an example of manual DB insertions:
http://web2py.com/book/default/chapter/10#Voting-and-Rating
2 matches
Mail list logo