Select and empty CHECKBOX JavaScript Function

xiaoxiao2021-03-06  104

Select and empty CHECKBOX JavaScript Function

Function SelectAll ()

{

For (i = 0; i

{

IF (Document.Forms [1] .Elements [i] .type! = "Checkbox") Continue;

Document.Forms [1] .Elements [i] .checked = true;

}

}

Function clearll ()

{

For (i = 0; i

{

IF (Document.Forms [1] .Elements [i] .type! = "Checkbox") Continue;

Document.Forms [1] .Elements [i] .checked = false;

}

}

转载请注明原文地址:https://www.9cbs.com/read-102722.html

New Post(0)