You are here: Home Development Javascript Javascript: Simple Message Box
Javascript: Simple Message Box PDF Print E-mail
User Rating: / 1
PoorBest 
Development - Javascript
Written by Rick   
Thursday, 03 April 2008 10:12

I'm always looking for the easy way to implement code. Here's a real easy way to produce a message box on a web page;

<script type="text/javascript">
alert("your message here")
</script>

Kudos to http://www.xulplanet.com/tutorials/xulqa/q_msgbox.html!
The above site expands on the code to include capturing return information, confirmation dialogues and more.

Comments (0)
Write comment
Your Contact Details:
Gravatar enabled
Comment:
[b] [i] [u] [url] [quote] [code] [img]   
:angry::0:confused::cheer:B):evil::silly::dry::lol::kiss::D:pinch:
:(:shock::X:side::):P:unsure::woohoo::huh::whistle:;):S
:!::?::idea::arrow:
Security
Please input the anti-spam code that you can read in the image.