When the page is first accessed, certain HTML elements are dynamically created. The checkboxes all have the name "chkBox". There is a special "checkAll" checkbox which when checked or unchecked, does the same operation on all the "chkBox" elements. It gets them by calling document.getEle mentsByName("ch kBox") and then modifies their status. Now I have a requirement to bypass some of the checkboxes. Being too lazy to maintain a separate bit array that specifies whether or not a checkbox is to be bypasses, I want to simply change their names at runtime so that the document.getEle mentsByName("ch kBox") doesn't select them. I tried the .name="blah" on the checkbox object but did not work. I'm using IE 6.
Please explain.
Please explain.
Comment