Search found 1 match

by Alizeh
Wed Apr 03, 2019 5:39 pm
Forum: Web Design and Development
Topic: Show confirmation box after clicking a HTML link <a>
Replies: 2
Views: 735008
Mood:

Re: Pop up to confirm when clicking a HTML link

here are different types of prompting it and you can use that best suits you Inline Code: <a href="page.php?action=delete&id=$id" onclick="return confirm('Are you sure?')">Delete</a> Event Listener: <a href="page.php?action=delete&id=$id" class="alert">Delete</a> <script type="text/javascript"> var...