Javascript for showing yes/no confirmation before delete
Here is a simple javascript code which you can use to show confirmation message(YES/NO) when user click on delete button.

Javascript Code

function confirmDelete()
{
 var 
agree confirm("Are you sure you want to delete this message");

 if (
agree)
  { return 
true ; }
 else
  { return 
false ; }  




Now just, call this function in your DELETE link using javascript onclick event.
Ex:

onClick='return confirmDelete();' 


10th May 2012 at 11:42 AM   1073 Views

Oop's, No Comments has been droped for this thread yet now.
Why don't you drop one.