javascript - How to disable multiple form submission in Jquery from onload() function -
i have jsp onload function in form. enable javascript submit form. require submit form once irrespective of multiple form submission in form of f5 (refresh).
<html> <head> <title>my jsp</title> <script type="text/javascript"> function onload() { alert("this form should submit once"); document.form.submit(); } </script> </head> <body onload="javascript:onloadevent()"> problem on button page goes , upon submit previous page routed again. cant change in previous page application.
ps: jsp doesn't have submit button. submit form onload() function. redirect page 1 application another.
Comments
Post a Comment