Click to See Complete Forum and Search --> : ForeColor change for List Item in ListBox


VB_Learner
February 22nd, 2007, 05:58 AM
Hi,
Can anybody help me solving this problem. I have a listbox and a button on a page, i want that, when an item is selected in the listbox, and the button is clicked, the ListItem forecolor to be changed to gray, to show it as it's disabled.

i have writen the same in javascript. i don't find any error on the page, but the item's forecolor is not getting changed.

Regards