Posted on 2007-12-06
Can anyone please tell me how I can get a confirmation popup box when clicking on a delete link.
For example if the delete link is clicked a popup to appear asking are you sure you want to delete ad <?php echo $adid; ?>" then if yes is selected to go to to del_ad.php?adnum=<?php echo $adid; ?>
<a href="del_ad.php?adnum=<?php echo $adid; ?>" onClick="confirmDelete();">Delete</a>
Thanks in advance for your assistance.