Hi All,
I am facing a issue in which i want to set value for selectonemenu by using document.getElementById().
The below code executes when printpreview link is clicked.
Issue: The value selected in the dropdown in main page is not same as thatof print previewpage. Instead in the print preview page the drop down is displaying defaut value .
This is only happening in IE9/10.

function settingParameters(){
//In below code I am trying to get the value for the item being selected in selectonemenu1.


//In below code I am trying to set the value of selectonemenu2 with the values of selectonemenu1.


Please let me know if anyone had faced such isue and how to resolve the same.
Thanks in advance.