This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Confirm popup title Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Confirm popup title" Watch "Confirm popup title" New topic

Confirm popup title

Varun K. Gupta

Joined: Jun 14, 2009
Posts: 10

I am using javascript to show confirm popup message like "Do you want to delete" but i have cross browser title issues...

on Firefox : it doesn't show me any title
on IE: confirm popup title is like "Message from webpage"
on Chrome it says: "The page at localhost 8080 says" ...

I need to customize title for all browse like "My title" on popup box.. is there any generic way.. currently I am using only javascript.. no jquery..
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2904

As far as my knowledge is concerned, for JS alert/confirmation, you can't change the title.

[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63351

You have no control over what the browser will show.

If you want complete control, you'll need to create your own dialog using something like jQuery UI dialogs, Facebox, jQuery tools, or other toolkit.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Confirm popup title
It's not a secret anymore!