'acceptCharset' Example : acceptCharset « Javascript Properties « JavaScript Reference

'acceptCharset' Example

    
<html>
<head>
<script language="JavaScript">
function goAcceptCharset() {
    alert(document.all.myForm.acceptCharset);
}
</script>
</head>
<body onLoad="goAcceptCharset();">
<form id="myForm" method="post" action="" acceptcharset="UTF-8">
some input fields
</form>
</body>
</html>

    
      
      








Related examples in the same category

1.'acceptCharset' Syntax and Note
2.'acceptCharset' is applied to