Pages

Thursday, July 14, 2011

Javascript

 javascript is used to design the website and make easier and faster


Document .write(" ");    this is the print the message
<html>
<head>
<script type="text/javascript">
function show_alert()
{
alert("Hello! I am super man");
}
</script>
</head>
<body>


<button type="button" onclick="show_alert()" value="Show alert box">show alert box</button>

</body>
</html>