By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,238 Members | 1,169 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,238 IT Pros & Developers. It's quick & easy.

Editing Title in alert box

100+
P: 119
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
Share this Question
Share on Google+
10 Replies


Dormilich
Expert Mod 5K+
P: 8,639
@phpmagesh
it's probably a browser thing, javascript is not the only component that can bring up an alert message.
Sep 25 '09 #2

100+
P: 119
@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
Expert Mod 5K+
P: 8,639
@phpmagesh
erm, what I meant is: I donít think you can. (imagine youíd change the title to "system error", what would you as end user think?)
Sep 25 '09 #4

100+
P: 119
@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
Expert Mod 5K+
P: 8,639
what is wrong with having a mark of "this is a javascript message"?
Sep 25 '09 #6

100+
P: 119
@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
Expert Mod 5K+
P: 8,639
I think itís not changeable, because of security reasons.
Sep 25 '09 #8

gits
Expert Mod 5K+
P: 5,390
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

100+
P: 119
Ok thanks for your suggestions. Let me try for some alternate way.

Thanks
Sep 25 '09 #10

acoder
Expert Mod 15k+
P: 16,027
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.