function UncheckAll(objectRef)
{
var row = objectRef.parentNode.parentNode;
var GridView = row.parentNode;
var inputList = GridView.getElementByTagName("input");
for(var i = 0; i < inputList.length; i++)
{
if(inputList[i].type == "checkbox")
{
if(inputList[i].disabled) // .disabled is not a property, so how can I check if it is enabled or not?
{
}
}
}
}
ASKER
ASKER
JavaScript is a dynamic, object-based language commonly used for client-side scripting in web browsers. Recently, server side JavaScript frameworks have also emerged. JavaScript runs on nearly every operating system and in almost every mainstream web browser.
TRUSTED BY
Open in new window
PS
If it not working the above then set manual the attr checked in checkbox element and then retry to tun the code