I have two list box (A and B), and I have two buttons to move list
items (options)
from this box to the other.I have a submit button to submit the form.
I know how to move items from A to B by using Javascript, and I know
how to use <option ... selectedto select an item.
However, how can I select an item after the page is rendered? In other
words, A and B have been populated with data and the page is rendered.
I click the move items button to move other items from A to B. I want
all items in B are selected.
Thanks,
items (options)
from this box to the other.I have a submit button to submit the form.
I know how to move items from A to B by using Javascript, and I know
how to use <option ... selectedto select an item.
However, how can I select an item after the page is rendered? In other
words, A and B have been populated with data and the page is rendered.
I click the move items button to move other items from A to B. I want
all items in B are selected.
Thanks,
Comment