TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Delete Confirmation in JQuery
Sushant Kesari
Oct 19
2015
Code
1.3
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
expand
function ConfirmDelete()
{
var x = confirm(
"Are you sure you want to delete these items?"
);
if
(x)
{
//call your method
DeleteEmp();
return
true
;
}
else
return
false
;
} < button type =
"button"
class
=
"btn btn_save"
onclick =
"ConfirmDelete();"
> Delete < /button>
delete confirmation message
JQuery