faqts : Computers : Programming : Languages : JavaScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

2 of 6 people (33%) answered Yes
Recently 2 of 6 people (33%) answered Yes

Entry

How do you change the buttom titles of a "confirm" dialog?

Apr 8th, 2008 18:53
ha mo, Dave Clark, Mark Hutchison,


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mark,
     You can't.  The function, size, position, design, layout, 
buttons, text, and font for the window.alert(), window.confirm(), and 
window.prompt() methods are built-in to the browser and cannot be 
changed by JavaScript.  For something different, try the window.open() 
or window.showModalDialog() methods.
Take care,
Dave Clark
www.DaveClarkConsulting.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://www.businessian.com
http://www.computerstan.com
http://www.financestan.com
http://www.healthstan.com
http://www.internetstan.com
http://www.moneyenews.com
http://www.technologystan.com
http://www.zobab.com
http://www.healthinhealth.com