Search
Winners

Win Prizes

Social Presence
Twitter Twitter LinkedIn YouTube Google

Like us on Facebook
Advertisements
Top Codes Author
Sun, 26-Oct-2014 Authors
All Time Authors
Satyapriyanayak
12160
Vishal@Neeraj
8240
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 : 2512 | 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.


Found interesting? Add this to:



Comments or Responses


Login to post response