469,294 Members | 1,701 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,294 developers. It's quick & easy.

Editing Title in alert box

119 100+
Hi,

Is it possible to edit the alert box title in javascript. If possible can anyone tell me how to do that.

I dont have idea about that so far and now i need to know about that.

Can any one help me in this pls.

Thanks in advance,

Regards,
magesh
Sep 25 '09 #1
10 4595
Dormilich
8,651 Expert Mod 8TB
@phpmagesh
it's probably a browser thing, javascript is not the only component that can bring up an alert message.
Sep 25 '09 #2
phpmagesh
119 100+
@Dormilich
Can you guide me in what way i can do this alert msg.

Is there any sample code available for this.

Thanks in advance

Regards,
Sep 25 '09 #3
Dormilich
8,651 Expert Mod 8TB
@phpmagesh
erm, what I meant is: I dont think you can. (imagine youd change the title to "system error", what would you as end user think?)
Sep 25 '09 #4
phpmagesh
119 100+
@Dormilich
Is there any other way to use alert message. instead of using alert box, how can i use alert message with any custom alert msg box..
Sep 25 '09 #5
Dormilich
8,651 Expert Mod 8TB
what is wrong with having a mark of "this is a javascript message"?
Sep 25 '09 #6
phpmagesh
119 100+
@Dormilich
This is not wrong. but if it changeable then i can modify to my requirement. thats my intention

Regards,
Sep 25 '09 #7
Dormilich
8,651 Expert Mod 8TB
I think its not changeable, because of security reasons.
Sep 25 '09 #8
gits
5,390 Expert Mod 4TB
it is definitly not possible to change the browser-dialog's titlebars ... goes for alert, confirm, prompt ... but you might always build your own custom DHTML-message dialog ...

kind regards
Sep 25 '09 #9
phpmagesh
119 100+
Ok thanks for your suggestions. Let me try for some alternate way.

Thanks
Sep 25 '09 #10
acoder
16,027 Expert Mod 8TB
Here's one that may interest you. Note that it doesn't work exactly like the browser alert because you can still access browser functions.
Sep 28 '09 #11

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by Bob Kaku | last post: by
3 posts views Thread by D. Alvarado | last post: by
4 posts views Thread by laredotornado | last post: by
3 posts views Thread by Nick | last post: by
3 posts views Thread by Adam Lipscombe | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.