programming-examples/js/Others/'acceptCharset' Property.js
2019-11-15 12:59:38 +01:00

15 lines
339 B
JavaScript

<html>
<head>
<title>Happy Codings :-) JavaScript Code Examples</title>
<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>