Hello All,
I have a web page that includes a list box with multiple items to choose from. I use the tag:
<option>selected="option_name">option_name</option>
to highlight a default selection (Or the user's last selection from an earlier session as read from a cookie). Users are allowed to chose multiple items. If I specify this option in the select tag:
<select name="Division" multiple>
and the user chooses a single option further down in the list box, the highlighted option is not shown the next session. The listbox scrolls to the selected item when I do not specify multiple.
What am I doing wrong?
Thanks,
Eric
I have a web page that includes a list box with multiple items to choose from. I use the tag:
<option>selected="option_name">option_name</option>
to highlight a default selection (Or the user's last selection from an earlier session as read from a cookie). Users are allowed to chose multiple items. If I specify this option in the select tag:
<select name="Division" multiple>
and the user chooses a single option further down in the list box, the highlighted option is not shown the next session. The listbox scrolls to the selected item when I do not specify multiple.
What am I doing wrong?
Thanks,
Eric