How to select all options in a drop down menu even the options are not selected?

Hello
I need a way to select all options in a multi options drop down menu.

so i have 2 multi options drop down menu like this example in this link http://jsfiddle.net/Mt4QA/

and I have placed all the selected options in an array they I use $_POST[‘sel’] to get them. but the problem is that i need to get all option that are in the right list weather the use selected them or not!!!

now the user will have to transfer the options to the right side then select all option in order to work.

the only thing is that i need to automatically select all options that are in the right list.

thanks

Sponsor our Newsletter | Privacy Policy | Terms of Service