Sunday, 18 September 2011

small pop-out message code using javascript and html

hello friends,
this is just a small pop-out message code.
what you have to do is just copy the code written below in your notepad, save it and open with your mozilla browser.

------------------------------------------------------------------------------------------------------------
<HTML>
<HEAD>

<SCRIPT LANGUAGE="JavaScript">
<!-- Beginning of JavaScript -

function MsgBox (textstring) {
alert (textstring) }

// - End of JavaScript - -->
</SCRIPT>

</HEAD>


<BODY>

<FORM>
<INPUT NAME="text1" TYPE=Text>
<INPUT NAME="submit" TYPE=Button VALUE="Show Me" onClick="MsgBox(form.text1.value)">
</FORM>

</BODY>
</HTML>
--------------------------------------------------------------------------------------------------
for further info. you can mail to:
Send mail!


No comments:

Post a Comment