/    Sign up×
Community /Pin to ProfileBookmark

Alert message window

Can a programmer determine the text on the title line of an Alert box?

I would like to display the subdomain name
subdomain xxxx.yyy:

instead of the childish
The page at domain hhhhh.dunne.xx says:

Visitors who encounter such an alert in a subdomain, don’t necessarily know what the parent domain is, nor do they care.

Thanks for any assistance.

Bruce

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@MrNobodyFeb 11.2009 — Can a programmer determine the text on the title line of an Alert box?[/QUOTE]
No. You would have to use the window.showModalDialog() method for that but it might be IE-only.
×

Success!

Help @bgsomers spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.27,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...