 |
|
|  |
| 입력폼에 내용이 공백이면 다음 항목으로 이동 불가능합니다. |
|
|
 |
19년 전 |
<html>
<head>
<script language="JavaScript">
<!--
function checkField(formName) {
if (formName.f1.value == "") {
document.forms[0].f1.focus();
document.forms[0].f1.select();
}
}
//-->
</script>
</head>
<body>
<form>
<pre>
Field1 <input name="f1" onBlur="checkField(this.form)"><br>
Field2 <input name="f2">
</pre>
</form>
</body>
</html> |
|
추천 : 468 |
추천
목록
|
|
|  |
|