Simple jquery confirmation link

JavaScript          Trackback

If you want simple confirmation for link (usually for delete link in your applications) here is simple code you can use:

$('.confirm').click(function() {
return confirm("Are you sure?");

Everything you have to do after adding this piece of code is to add “confirm” class to link you want confirm before proceeding.

No Comments

Make A Comment

No comments yet.

Comments RSS Feed    TrackBack URL

Leave a comment