A very simple javascript to make confirm delete works!
No need to use window.location.href / document.location.href
, which are not working in either IE6 / IE7.
Simply,
<a href="xxxxxx.php?id=yyy" onClick="return confirm('Are you sure you want to delete this record?')">Delete</a>
Easy? Right? I searched for a long time….stupid!
RSS feed for comments on this post · TrackBack URI
Leave a reply