Monday, 27 February 2012

Calling function

<html>
<head>
<script type="text/javascript">
function displaymessage()
{
alert("Hello");
}
</script>
</head>
<body>
<form>
<input type="button" value="Click " onclick="displaymessage()" />
</form>
</body>
</html>

No comments:

Post a Comment