/    Sign up×
Community /Pin to ProfileBookmark

prompt box title

my web page has a prompt box that loads and asks the visitor a question. their answer is then used all over the page. when the prompt box comes up, the title bar has the domain name in it. how can i specify what the title bar says in said prompt box?

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@KravvitzSep 25.2005 — You can't. However, you could use a DHTML script to simulate what prompt() does.

http://slayeroffice.com/code/custom_alert/
×

Success!

Help @AmazingAnt 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 6.9,
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: @meenaratha,
tipped: article
amount: 1000 SATS,

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

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...