Answers for "delete confirmation message in javascript php"

PHP
1

how add confirmation box in php before deleting

echo "<td><a onClick=\"javascript: return confirm('Please confirm deletion');\" href='delete.php?id=".$query2['id']."'>x</a></td><tr>"; //use double quotes for js inside php!
Posted by: Guest on December-21-2020
0

javascript onclick alert are you sure

<a href="#" onclick="return confirm('Continue?')">DISABLE</a>
Posted by: Guest on June-17-2020

Code answers related to "delete confirmation message in javascript php"

Browse Popular Code Answers by Language