Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

alert before delete in anchor tag

echo "<a class='btn btn-danger' href='delete.php?&var=$var' onclick='return confirm('Are you sure want to delete this?');'><span class='glyphicon glyphicon-trash'></span></a>";
 
PREVIOUS NEXT
Tagged: #alert #delete #anchor #tag
ADD COMMENT
Topic
Name
8+9 =