Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
To set all checkboxes to true using JavaScript?
To set all checkboxes to true using JavaScript?
✍: Guest
//select all input tags
function SelectAll() {
var checkboxes = document.getElementsByTagName("input");
for(i=0;i<checkboxes.length;i++) {
if(checkboxes.item(i).attributes["type"].value == "checkbox") {
checkboxes.item(i).checked = true;
}
}
}
2008-11-11, 4742👍, 0💬
Popular Posts:
What is the concept of XPOINTER? XPOINTER is used to locate data within XML document. XPOINTER can p...
How Can we change priority & what levels of priority are provided by Dot Net? Thread Priority ca...
How do we host a WCF service in IIS? Note: - The best to know how to host a WCF in IIS is by doing a...
In which event are the controls fully loaded ? Page_load event guarantees that all controls are full...
What is V model in testing? V model map’s the type of test to the stage of development in a project....