15 lines
339 B
JavaScript
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> |