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

Popular posts from this blog

Why can rails not find a route created by a helper? -

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -