Want to become a Vibe Coder? Join Vibe Coding Training here
x
C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Delete Confirmation in JQuery
WhatsApp
Sushant Kesari
Oct 19
2015
2
k
0
0
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
Up Next
Delete Confirmation in JQuery