javascript - prototype stop and continue event after AJAX call -
i have form. execute ajax call on form submit, , after execution continue form submiting.
here code example:
$('myform').observe('submit', function(e) { e.stop(); new ajax.request('/myurl', { method:'get', oncomplete: function(transport) { //here continue form submitting }, }); });
Comments
Post a Comment