Javascript Onsubmit With Form With Multiple Submits Buttons
I have a form with two submits buttons, one called 'display' and the other called 'disenrol'. The display submit doesn't need confirmation whereas the other does. Originally I wa
Solution 1:
Try this:
<input type="submit" onclick="return confirm('Are you sure you want to remove the modules?');" value="submit1" />
Post a Comment for "Javascript Onsubmit With Form With Multiple Submits Buttons"