Catman
01-13-2003, 01:36 PM
I have a script which works with IE 5.0+ and Netscape 6.0+ but chokes Opera 6.0.
Here's the line in question:
nsStyleSheet=document.styleSheets[0];
Opera claims that the lefthand operand cannot be assigned the value of the righthand operand.
I'm at a loss for a solution.
Note: I do not declare the variable before making the assignment, if that would make a difference.
Here's the line in question:
nsStyleSheet=document.styleSheets[0];
Opera claims that the lefthand operand cannot be assigned the value of the righthand operand.
I'm at a loss for a solution.
Note: I do not declare the variable before making the assignment, if that would make a difference.