I have a form that when it loads I would like to highlight the values (from
a DB) that have been selected in a multiple selection list (<select
multiple="true" >.
function onLoad()
{
document.forms[0].elements["multipleSelect List"].value = "<value from
DB>";
}
With a single selection list I know you simply set the value appropriately
however have not been able to find how to do this with multiple selection
lists.
Any help would be greatly appreciated.
BBB
a DB) that have been selected in a multiple selection list (<select
multiple="true" >.
function onLoad()
{
document.forms[0].elements["multipleSelect List"].value = "<value from
DB>";
}
With a single selection list I know you simply set the value appropriately
however have not been able to find how to do this with multiple selection
lists.
Any help would be greatly appreciated.
BBB
Comment