[新着] Webテンプレートを仮オープンしました
for (var i = 0; i < iform1.document.f01.length; i++) {
iform1.document.f01.elements[i].disabled = true;
}
for (var i = 0; i < iform1.document.f01.length; i++) {
iform1.document.f01.elements[i].disabled = true;
}var _f01 = iform1.document.f01;
var _f01_len = _f01.length;
for (var i = 0; i < _f01_len; i++) {
_f01.elements[i].disabled = true;
}function hoge(O){
if(今は入力していい?){
return;
} else {
O.blur();
}
}
<input 〜 onfocus(this)>
<input 〜 onfocus(this)>
<input 〜 onfocus(this)>function hoge(O){
if(今は入力していい?){
return;
} else {
O.blur();
}
}
<input 〜 onfocus="hoge(this)">
<input 〜 onfocus="hoge(this)">
<input 〜 onfocus="hoge(this)">iform.document.body.disabled = true;