/ Published in: JavaScript
URL: http://newsourcemedia.com/index_view.php?id=55
Expand |
Embed | Plain Text
<script> function confirmDelete(delUrl,name_cat) { if (confirm("Are you sure you want to delete \nrow number \"" name_cat "\"\nfrom the database")) { document.location = delUrl; } } </script> <!-- now the html link --> <a href="javascript:confirmDelete('yourpage.php?delete=293','293')">Delete</a>
You need to login to post a comment.
