Search
Weekend Training
ASP.NET MVC, HTML 5 weekend training, click here
eBook free
Winners

Win Prizes

Social Presence
Twitter Twitter LinkedIn YouTube Google

Like us on Facebook
Advertisements
Top Codes Author
Sat, 31-Jan-2015 Authors
All Time Authors
Vishal@Neeraj
12960
Satyapriyanayak
12160
Jayakumars
8120

Latest members | More ...


(Statistics delayed by 5 minutes)
 Codes

How to get confirmation in JavaScript?

Poster
Posted by Poster under JavaScript on 3/1/2009 7:37:39 AM | Views : 2623 | Status : [Member]

To get the confirmation in JavaScript, use confirm function available in JavaScript.

var v = confirm('Are you sure?");


if user click OK, v will be true otherwise false.


Share this to:

Bookmark It

Comments or Responses


Login to post response