
Originally Posted by
liquidone
document.leadinfo.none.style.border="0";
leadinfo is the name of the form the checkboxes are in.
I suggest that you alter how that object reference is constructed to:
Code:
document.forms.leadinfo.elements.none
It was a mistake for browser vendors to implement the short cuts you use above.
As for the border property, to remove a border, set it's style to 'none':
Code:
element.style.borderStyle = 'none';
where element is an object reference.
In case you aren't aware, if there is more than one checkbox with the name, 'none', the object reference I suggested above will return a collection (like an array) of elements, not a single element.
Mike
Bookmarks