Confirm Delete
Posted: Wed Jan 21, 2009 6:51 pm
I need help implementing a confirm delete pop up for a delete function on my script. Here is the php code:
Can someone please tell me what to add so that when the function delete is clicked a javascript or other pop up comes up and confirms that i want to delete this user.
Thank You!
Code: Select all
echo '<td align="center">[<a href="cross_check.php?userID='.$a2['id'].'" class="Ab">Cross Check</a>][<a href="support_reply.php?start_message=new&user_id='.$a2['id'].'#newMess" class="Ab">Message User</a>][<a href="?action=Delete&&id='.$a2['id'].'" class="Ab">Delete</a>]/[<a href="?action=View&&id='.$a2['id'].'" class="Ab">Edit</a>]/'.$Link.'</td>Can someone please tell me what to add so that when the function delete is clicked a javascript or other pop up comes up and confirms that i want to delete this user.
Thank You!