Guest_imported
New member
- Jan 1, 1970
- 0
I want to change the background color in a listbox and a textbox. Here's my code:<br><br>function locChange()<br>{ var l = parent.body_frame.schedule.location_id<br> var nl = parent.body_frame.schedule.new_loc<br> if(l.value == 'new')<br> { l.bgColor = 'ffffff';<br> nl.bgColor = 'ffff00';<br> nl.disabled = false;<br> }else<br> { l.bgcolor = 'ffff00';<br> nl.bgColor = 'ffffff';<br> nl.disabled = true;<br> }<br>}<br><br>For some reason it isn't working. The disable assignments are working, but not the bgcolor assignments. Is there another property that needs to be set? Thanks in advance.