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, 4372👍, 0💬
Popular Posts:
How To Check the Oracle TNS Settings? - Oracle DBA FAQ - ODBC Drivers, DSN Configuration and ASP Con...
What is the FP per day in your current company?
What is the benefit of using an enum rather than a #define constant? The use of an enumeration const...
How do we create DCOM object in VB6? Using the CreateObject method you can create a DCOM object. You...
How do you open an SSH connection to a remote box? ????