| Author |
How to create a customised alert box using javascript
|
Avinash Talari
Greenhorn
Joined: May 12, 2010
Posts: 3
|
|
|
I want to have a customised alert box using javascript. Alert Box displays only OK button but can i make it display yes and no buttons just like how a confirmation box pops up when we are trying to close a word document without saving. Please help me with this.
|
 |
Gregg Bolinger
Ranch Hand
Joined: Jul 11, 2001
Posts: 15230
|
|
|
You'll need to use something like jQuery UI - Dialog for this. There are a lot of different options available. Just hit google.
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
Do you want onbeforeunload?
Eric
|
 |
 |
|
|
subject: How to create a customised alert box using javascript
|
|
|