I never use CFForms. I much prefer to write my own JS. Does it throw a JS error at all? Are you possibly calling it before the select even exists?
-----Original Message----- From: Richard White [mailto:[EMAIL PROTECTED] Sent: Thursday, September 21, 2006 12:08 PM To: CF-Talk Subject: Re: cfinput text backcolour >>document.getElementById('formElementId').style.backgroundColor = "#ffffc0"; is there any reason why the above wont work on cfselect drop down boxes although i can set the style="background:##xxxxxx;" when i declare it fine? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:253789 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4