Help for this page
var flag = 0; function StopSubmit() { if(!flag) { flag++; return 1; } return 0; }
<form onSubmit="return StopSubmit();">