...

View Full Version : document.getElementByID change dropdown menu text color



canadianjameson
12-19-2004, 05:05 PM
how would i use the document.getElementById function to change the color of the text of a dropdown menu?

something like:


onclick="document.getElementById('dropdownMenu').style.color='black'"


i cant test it, so just lemme know if the syntax is correct

hemebond
12-19-2004, 08:08 PM
Looks fine to me.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum