Java相談室 Part4

このエントリーをはてなブックマークに追加
145.
<html>
<head><title>kuidhfv</title>
</head>
<body>
<SCRIPT Language="javascript">
<!--
function inputCheck(strName) {
if (strName == "") {
window.alert("?");
} else {
window.alert("[" + document.from1.txtName.valur + "]");
}
}

//-->
</script>
<center>
<br>
<from name = "from1">
<input type="text" size="40" name="txtName">
<input type="button" value="CLICK" onclock=inputCheck(document.from1.txtName.value)>
</from>
</center>
</body>
</html>
これのいったいどこがいけないノデ?
誰か教えてくれないノデ?