Win a copy of Modern JavaScript for the Impatient this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Confirm popup title

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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..
 
Ranch Hand
Posts: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As far as my knowledge is concerned, for JS alert/confirmation, you can't change the title.
 
Marshal
Posts: 67445
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic