Meaningless Drivel is fun!*
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
Author

Confirm popup title

Varun K. Gupta
Greenhorn

Joined: Jun 14, 2009
Posts: 10
Hi,

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: 2902
    
    1

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
Marshal

Joined: Jan 10, 2002
Posts: 60997
    
  65

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: http://aspose.com/file-tools
 
subject: Confirm popup title