Beck
04-03-2003, 06:42 AM
I'm trying to change the color of the button's border from a script. I have the button and the border-color feature of it's style attribute, but I cannot seem to affect it from scripts other than to make it disappear.
I'm working in IE6, and the netscape version is also pending, so I need both where I can get them.
so far, the following fail to accomplish my goal:
document.all("theButton").style.border="FF0000";
document.all("theButton").style.bordercolor="FF0000";
Any other suggestions? Thanks in advance.
I'm working in IE6, and the netscape version is also pending, so I need both where I can get them.
so far, the following fail to accomplish my goal:
document.all("theButton").style.border="FF0000";
document.all("theButton").style.bordercolor="FF0000";
Any other suggestions? Thanks in advance.