<html>
<body>
<script language=javascript>
function function1() {
document.getElementById("myForm").method = "post";
}
</script>
<form name="myForm" method="get" action="">
<textarea rows="3" cols="200">
</textarea>
</form>
<input type="button"
value='Change the mode of transferring the data to "post"'
onclick="function1();">
</body>
</html>
|