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;
}
}
}
2011-01-11, 3778👍, 0💬
Popular Posts:
it will be very helpful if you send some important Questions with Answers of DBMS Tell us what types...
What are the different accessibility levels defined in .NET ? Following are the five levels of acces...
What are urlencode() and urldecode() functions in PHP? string urlencode(str) - Returns the URL encod...
What does XmlValidatingReader class do? XmlTextReader class does not validate the contents of an XML...
1. What is normalization. 2. Difference between procedure and functions. 3. Oracle 9i Vs 10g. 4. how...