Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

confirm message in jquery

<a href="/" id="aaa">Delete</a>
//jquery code
$(document).on('click', '#aaa', function(){
	var result = confirm('Do you want to perform this action?');
    if(!result){
    	return false;
    }
})
 
PREVIOUS NEXT
Tagged: #confirm #message #jquery
ADD COMMENT
Topic
Name
8+1 =