Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Different way to use confirm function???

Status
Not open for further replies.

hungnguyen

Programmer
Sep 22, 2000
43
US
Hi All!!

I have a question. I am using the confirm function as
if(confirm(msg_1))
{
do something
}
else
{
do other thing
}

but when I run the message box have two button <OK> and <CANCEL>, and I do not want to use them. Instade of that, I would like to use <YES> or <NO>. Ho can I chance the button name???
Thanks for your help.
bye


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top