Tuesday, June 30, 2015

Javascript - confirmation dialog on href-link

 
 
<a href="delete.php?id=22" onclick="return confirm('Are you sure?')">Link</a>

No comments :

Post a Comment