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
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
eliza sahoo
NA
41
0
How to create a customized confirmation alert in javascript
Mar 25 2010 9:45 AM
When you implement a delete feature in your application, a very basic additional feature which is always expected to be implemented is a confirmation box, so that the user gets a prompt before doing some delete activity.
For implementing this, there is already a Javascript function called
confirm()
.
The syntax for this is very simple and i am sure every developer is aware of this. The syntax is as follow:
var confirm = confirm("Are you sure you want to do this?");
if(confirm)
{
//do your delete operation
}
else
{
return false;
}
Hope this
tip
did help u.
Reply
Answers (
1
)
Giving User, a software along with database in C#.net
Date wise Bulk File Copying Application Using C#