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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Confirm + change title

Status
Not open for further replies.

ASPVBNerd

Programmer
Joined
Nov 23, 2005
Messages
83
Location
SE
Can i change the title of a confirm message?

I don't want the title to be "Microsoft Internet Explorer
 
You can hack the registry entry and change it... or run some software that does it for you. Using javascript you can set the document.title - but this will still append "MS Internet Explorer" to the end.

Short anser... no.

Cheers,
Jeff

[tt]Jeff's Page [/tt][tt]@[/tt][tt] Code Couch
[/tt]

What is Javascript? faq216-6094
 
Thanks for the answer.
Last question. confirm, is it the most similuar messagebox in Javascript to vbYesNo (VbScript) or is there any YesNo message in JavaScript?
 
Confirm is the only one of that type. You have alert... and you have prompt. Type this into your browser location bar:
Code:
javascript:alert(prompt('Question to ask','Default text'));
You can't change the button text for any of them.

Cheers,
Jeff

[tt]Jeff's Page [/tt][tt]@[/tt][tt] Code Couch
[/tt]

What is Javascript? faq216-6094
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top