Program To Change Values Of Input Fields(TextBox etc)




<html>
<head>
<script type="text/javascript" language="javascript">
function m()
{
document.getElementById("mn").value="Mahavir";
}
</script>
</head>
<body>
<form action="http://clickme.co.in" method="post">
<input type="text" name="mn" id="mn">
<br>

<input type="button" onclick="m()" name="ClickMe" value="ClickMe">
</form>
</body>
</html>