it sorts through a list of radio buttons and unchecks them. However, to be more effecient I would like to use it in a function, since I have several different groups of radio buttons on one page.
For instance if I was going to uncheck one group of radio buttons I would do:
Code:
function changeTitle() {
for (var i = 0; i < document.form_59_155.property_80.length; i++)
{document.form_59_155.property_80[i].checked = false;}
}
I would like to write a function for this. So basically where you see the number 80, I would like to have the abilitily to change this by calling a function. Hope this makes sense. Thanks for taking a look...
|