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, 4801👍, 0💬
Popular Posts:
How can a servlet refresh automatically if some new data has entered the database? You can use a cli...
Can you explain in GSC and VAF in function points? In GSC (General System Characteristic) there are ...
What is Traceability Matrix? Traceability Matrix is one of the document will prepare by QA.To make s...
How can I execute a PHP script using command line? Just run the PHP CLI (Command Line Interface) pro...
Does it matter in what order catch statements for FileNotFoundException and IOExceptipon are written...