Quantcast
Channel: Catching form submit result - Stack Overflow
Browsing latest articles
Browse All 4 View Live

Answer by Nisal Edu for Catching form submit result

Try to use done() function in Jquery .done(function( n ) { $( "p" ).append( n +" we're done." ); });Following is Jquery documentationhttps://api.jquery.com/deferred.done/

View Article


Answer by schylake for Catching form submit result

<form name="multipay_form" onsubmit="private_payment_send(); return false;"><button type="submit">test</button></form>...

View Article

Answer by Gurpreet Singh for Catching form submit result

You can trigger your function only when the called function, here "private_payment_send" has returned true. This can be done like this<form name="multipay_form" onsubmit="if (private_payment_send())...

View Article

Catching form submit result

I have a page which calls an external library, this library adds a payment form:<form name="multipay_form" onsubmit="private_payment_send(); return false;"> ....</form>I can not change any...

View Article
Browsing latest articles
Browse All 4 View Live