Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Manipulating <TD> Styles

Status
Not open for further replies.

globularbob

Programmer
Nov 15, 2002
69
US
Hello

I am hoping to toggle the color of the text inside <TD> tags using vbscript. If my dropdown is one option, I want the color red and if it is another, I want the color blue. I am using the following code to successfully control most everything else on the page:

requestEdit.ClosedReason.style.visibility=&quot;visible&quot;

But I an error when I use the following to dynamically toggle the <TD> properties:

requestEdit.ClsdRsnTxt.style.color=&quot;blue&quot;



Any ideas on how to accomplish this?

Thanks!

GB
 
Can you post :
- your &quot;ClsdRsnTxt&quot; TD tag
- the error message you have. Water is not bad as long as it stays out human body ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top