Here you can find a number of examples on Java Script.Please find the various kinds of examples listed on the right side of this site. If you don't find anything on Java Script then please write to us or leave a commnet. We are pleased to help and find the solution of your problem.

Javascript: Alert Message

<title>Alert Message</title>

<script language="javascript">
function alertmessage()
var num=document.form1.num.value;
alert("Your Entered Number is " + num);

<h1>Enter the number between 1 to 100</h1>

<form name="form1">
Enter a Numebr <input type="text" size=3 maxlength="3" name="num">
<input type="button" onclick="alertmessage();" value="Enter">


No comments:

Post a Comment