Populate DropDown value based on Grid View
===

I'm trying to populate a few text boxes and dropdowns with the Grid View row value selected. I'm able to populate the text box by doing,


    window.opener.document.getElementById('textbox1').focus();
    window.opener.document.getElementById('textbox1').value = strPos[1];

How do I populate the DropDown? The below code does not work. The value returned from the Grid View is string.   

    window.opener.document.getElementById('ddl1').focus();
    window.opener.document.getElementById('ddl1').value = strPos[2];                                                                                                      


    