0
<form action="" name="Insert" method="post" onsubmit="alert(1); return false;">
<a href="#" onclick="javascript:document.Insert.submit()" type="submit" >Eliminar</a>
Good people, here’s the thing, when I do Submit it just does Submit without appearing the alert to confirm, I tried otherwise as:
<form action="" name="Insert" method="post" onsubmit="alert(1); return false;">
<a href="#" onclick="alert(1); return false; javascript:document.Insert.submit()" type="submit" >Eliminar</a>
In this code I just presented, I only see the dialog, but I can only cancel, I click on "OK" it does nothing, nor closes the dialog..
does nothing.. and I’m talking about your first example which is what it takes
– thecreator
I already solved, but I only got thanks so, THANK YOU
– thecreator