Confirmation box for delete?
I need little help here,
I have the codes here,
The codes above is just a confirmation box.
<p>Click the button to display a confirm box.</p>
<button onclick="myFunction()">Try it</button>
var r=confirm("Press a button!");
x="You pressed OK!";
x="You pressed Cancel!";
What I wanted here is to apply this into delete URL.
Whenever I click the delete link this confirmation box will popup (YES or NO).
When YES is clicked it will continue to delete.
If NO is clicked it will simply cancel.
This is just basic really.
Thanks in advance.