473,385 Members | 1,372 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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 5213
Dormilich
8,658 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,658 Expert Mod 8TB
@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
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,658 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,658 Expert Mod 8TB
I think it’s 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

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

Similar topics

0
by: Bob Kaku | last post by:
I'm trying to create a text editing and updating capability to help someone who wants to maintain content on a web page without having to know any HTML or use a web authoring tool and FTP'ng the...
3
by: D. Alvarado | last post by:
Hello, I am trying to find the <TITLE> element of my document. Normally alert(document.title); works just fine, but when this statement is within a page that is a frame in a larger document,...
4
by: laredotornado | last post by:
Hello, How do I use Javasript to get the <TITLE> element of a web page? If anyone can supply a cross browser way (IE 5.5+, Firefox 1+), it is most appreciated. Dave
3
by: Nick | last post by:
Hello, I am trying to edit a CSS rule with Javascript, which is for printing. Thus @media print { #footer { display: none; } } I would like to be able to access the display attribute of...
3
by: Erik | last post by:
I've found several posts discussing this, but I'm still stumped. Pasted below is the HTML for a simple aspx file I created in a 1.1 environment. My goal is to give my users a rich text editor,...
9
by: pvsundarram | last post by:
hey, i am trying to cancel the keydown event for certain keycodes( for eg:- enter key ).But the cancelling of this event is not happening in firefox. Is there any way to cancel the event in the...
3
by: Adam Lipscombe | last post by:
Folks, I want to be able to get title of a document that is presented within an Iframe with the id "popupFrame". There may be more than 1 instance of the iframe in the page. This is my...
3
by: geevaa | last post by:
Hi All, Using javascript i am displaying an alert... Is there is a way to change the title of the alert box displayed through Javascript Here is my simple javascript code <script type =...
8
by: ahilar12 | last post by:
Hi experts, I have a form with many textboxes,listboxes in php.I have a edit button to edit the values in the form.once i click the edit button the existing values should be displayed so that...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.