|
Wednesday, 28 September 2011 19:25 |
If you wanted the user to confirm form submission before it was submitted, add the following to your submit button:
onClick="if(confirm('Are you sure?')) return true; return false;"
Example:
<input type="submit" name="Done" value="Done" onClick="if(confirm('Are you sure?')) return true; return false;">
25% Off Hosting: use coupon code PHPDiscount and get 25% off your first month at HostGator.
 |
|
Last Updated on Wednesday, 28 September 2011 19:31 |