473,386 Members | 1,734 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,386 software developers and data experts.

Change Caption or Title of alert box

59
Is it possible to change/specify caption/title of the javascript alert box?

alert('This Field is required'); to have the caption as Info instead of web page url.
Sep 6 '07 #1
5 7450
acoder
16,027 Expert Mod 8TB
This is not possible with the alert box.

You can create your own using DHTML, though obviously that isn't as simple as an alert. You should, however, be able to find an alternative if you search.
Sep 6 '07 #2
cssExp
59
I can't seem to find a simple alternative, could you suggest some?
Sep 6 '07 #3
acoder
16,027 Expert Mod 8TB
I can't seem to find a simple alternative, could you suggest some?
Try this one.
Sep 7 '07 #4
cssExp
59
Thanks, it seems good enough :)
Sep 8 '07 #5
acoder
16,027 Expert Mod 8TB
Yes, it is interesting how they achieve modality and scrolling behaviour.
Sep 8 '07 #6

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

Similar topics

34
by: Andrew DeFaria | last post by:
I thought this would be fairly straight forward but apparently it's not. Given the following html file: <!DOCTYPE html PUBLIC "-//w3c//dtd html 4.0 transitional//en"> <html> <head>...
3
by: Matt | last post by:
Is there a way to change the title bar of the JavaScript alert box?? If we do the following, it always show Internet Explorer in the title bar of the box. What if I want to have title "My Title"...
4
by: DerekM | last post by:
I have a database project that I created with several forms and reports. I would like to be able to declare a single title and be able to change the title on all the forms and reports by changing...
2
by: Trammel | last post by:
Hi. I have been trying to make a simple application that will sit in the background and alert me of any changes in window focus (IE: Pop-up windows) on my system. I have used...
2
by: Simon | last post by:
Dear reader, Is it possible to change the text of a label in a form on the event "By open". In the event some VBA code will change the label text.
3
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - I have window.status="Moomin"; why doesn't the statusbar change?...
1
by: pl1987 | last post by:
Hello, i have strange problem. I've simple page with frameset on freeDNS serwer (don't have access to change anything) and the page on mine server. I want to change the title of browser's bar ...
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 =...
6
by: AAaron123 | last post by:
I'm using the CreateUserWizard Web Server Control The error message when the passwords do not match is colored red. Red does not show well against my background so I like to change that color. I...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

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.