That's the code I have so far. "PostID" is actually a dynamic variable placed by VBScript...Code:<a href="includes/delete.asp?Post=PostID" onClick="confirm('This will delete current post and all responses!');return true">X</a>
When the user clicks on the link "X" the confirm box pops up with the appropriate message and [OK][Cancel] buttons.
Problem is, if they hit [Cancel], it still runs the href URL deleting the posts anyway...
I thought [Cancel] stopped the href action...
Thanks in advance!
Brandon




Bookmarks