Thursday, 21 January 2016

Simple prompt() in java...


<html>
<head>
<title>
USER NAME
</title>
<script type="text/javascript"
language="javascript">
var i=prompt("enter your name");
alert("you have register your name..."+i);


</script>
</head>


<body>
java script
</body>
</html> 
OUTPUT: 



 

 

No comments:

Post a Comment