How to Prevent Users from Submitting a Form Twice
html, javascript
Solution
try out this code..
<input type="submit" name="btnADD" id="btnADD" value="ADD" onclick="this.disabled=true;this.value='Sending, please wait...';this.form.submit();" />
Problem
``` <input type="submit" name="btnADD" id="btnADD" value="ADD"/> ``` when user click add button twice, from get submitted twice with same data into table. So Please help me to restrict user to submit from twice.