<html>
<head>
<title> Using the encoding property for the Form object</title>
</head>
<body>
<script language="JavaScript">
<!--
function getEncoding(){
var encodingType = document.form1.encoding;
alert(encodingType);
}
-->
</script>
<form name="form1" action="post" enctype="application/x-www-form-urlencoded">
<input type="button" value="Get Encoding" onClick='getEncoding()'>
</form>
</body>
</html>
|