Give something like this a shot:
[in asp]
<asp:textbox ... onmouseout = "changecolor(this, 'black');" onmouseover =
"changecolor(this, 'red');" ... />
[in js]
changecolor(something, somecolor)
{
something.style.color = somecolor;
}
"Jim" <je******@comcast.net> wrote in message
news:11*********************@c13g2000cwb.googlegro ups.com...
Hey all, I'm trying to change the forecolor of asp.net textbox text as
I mouse over them. I keep getting a javascript error that the item
doesn't exist when trying to reference it by it's ID. Any help would
be appreciated.