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:
  1. function activeField(ptr)
  2. {
  3.    'Get the current cssStyle
  4.    var myClass = ptr.className;
  5.  
  6.    if((ptr.disabled != true) && (ptr.readOnly != true))
  7.    {
  8.       'Append '_Selected' to the current cssStyle
  9.       ptr.className = myClass + '_Selected';
  10.    }
  11. }
When the control get's the focus, the color just changes to white, however, it should change to a light brown.