|
|
#1 |
|
Frenzied Member
Join Date: Feb 02
Location: DUH, Guess...Hint: It's really hot!
Posts: 1,861
![]() |
Changing Style Class in Netscape
I created a custom textbox control in .NET, which calls a javascript function whent he control gets the focus. The function get's the contorls css className then adds the word "_Selected" on the end
So a control whose cssClass (className) is "textBox", would then have it's className changed to "textBox_Selected". Everything works fine in Internet Explorer, but not in Netscape. So I was curious if anyone new why? Here is the javascript function VB Code:
__________________
Being educated does not make you intelligent. Need a weekend getaway??? Come Visit |
|
|
|
|
|
#2 |
|
Frenzied Member
Join Date: Sep 03
Location: UK
Posts: 1,090
![]() |
The function looks fine to me, except for how you're written your comments. I'm suprised it even workied in IE.
You probably added those comments just now though. The only other thing I can think of is that NS doesn't support this yet or that or displayes the colour differently to IE, try something like black, see what happens then.
__________________
Have I helped you? Please Rate my posts.
![]() |
|
|
|
![]() |
|
||||||
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|