유니 코드의 숫자 문자 참조가 자바 스크립트로 설정된 경우 문자가 올바른 표현으로 변환되지 않지만 html에서 직접 양식을 설정할 때 왜 작동합니까?유니 코드와 자바가있는 폼
<html>
<head>
<script language="javascript">
function test()
{
document.InputForm.TextBox.value = 'ח';
}
</script>
</head>
<body>
<form name="InputForm" ID="Form1">
<input id="Text1" type="text" name="TextBox" style="color: 000000; position: absolute; left: 0; top: 200; width: 600px; " value="ח">
</input>
</form>
<form>
<input TYPE="button" Value="Button1" onClick="test();">
</form>
<form>
<input TYPE="button" Value="Button2" onClick="document.InputForm.TextBox.value = 'ח'">
</form>
</body>
가능한 중복 [JavaScript로 대체 속성 인코딩] (http://stackoverflow.com/questions/2775328/alt-attribute-enc) oding-with-javascript) –