Create JavaScript Confirm Box for Record Deletion

Confirmation before deletion of record is very useful to preserve data from accidental record deletion. With confirmation process will be in two steps. Here is the javascript way to ask user whether they want to delete record or not. <a onclick="return confirm('Are you sure you want to delete?')" href="page.page?act=delete&id=1">Delete</a> You…continue reading →