웹마짱구's 블로그

checkbox 제어

Linux/PHP : 2007/10/31 11:52


체크박스 모두 체크

var chk = document.getElementsByName("chk[]");

    for (i=0; i<chk.length; i++)
        chk[i].checked = f.chkall.checked;

top

TAG ,
Linux/PHP : 2007/10/31 11:52 Trackback. : Comment. : view 879

Trackback Address :: http://jjangu.pe.kr/blog/trackback/472

Write a comment.




: 1 : ... 126 : 127 : 128 : 129 : 130 : 131 : 132 : 133 : 134 : ... 543 :