Menu
Hi,
I have this statement in ASP.NET
txtDirName1First.Attributes.Add(“onclick”, “if(this.value == ‘first’) {this.value = ”; this.color=’#FFF;’}”)
txtDirName1First is an ASP.NET textbox I want to change the color of its font when its clicked.
The first part of my javascript works fine and the textbox clears, however the color doesn’t change.
Thanks