Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

html anchor tag javascript confirm

<a href="" onclick="if (confirm('Delete selected item?')){return true;}else{event.stopPropagation(); event.preventDefault();};" title="Link Title">
    Link Text
</a>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #html #anchor #tag #javascript #confirm
ADD COMMENT
Topic
Name
6+7 =