wood burning stoves
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
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: 63858

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] [About Bear] [Books by Bear]
I agree. Here's the link: http://aspose.com/file-tools
subject: Confirm popup title
It's not a secret anymore!