Hey all,
I currently have multiple options being saved to a db and I want them to be highlighted when i load the values in.
Currently i'm using javascript to populate the listbox with values and was wondering if anyone knew the syntax to get the options highlighted in javascript.
something like
listbox.options[x].selected ?
or will listbox.selectedIndex = x
work for each value that x stores in the loop?
Any help would be appreciated thanks all.
Errol Barratt
work: 856-810-5712
home: 856-697-1593
*** If there is a possibility, I'm sure all the smart ones out there will enlighten me 8p
I currently have multiple options being saved to a db and I want them to be highlighted when i load the values in.
Currently i'm using javascript to populate the listbox with values and was wondering if anyone knew the syntax to get the options highlighted in javascript.
something like
listbox.options[x].selected ?
or will listbox.selectedIndex = x
work for each value that x stores in the loop?
Any help would be appreciated thanks all.
Errol Barratt
work: 856-810-5712
home: 856-697-1593
*** If there is a possibility, I'm sure all the smart ones out there will enlighten me 8p