I have to assign the value in a repeater column in such a way that upon assignment, the value in the repeater column becomes the current selection in the drop down.
I have the correct value to assign in $('#myname_' + rowIndex).text(), but when I assign this value to the id.value of the dropdown – as shown below – the assignment has no effect. What am I doing wrong.
$("ctl00_ContentPlaceHolder1_myname").value = $('#myname_' + rowIndex).text();
Use:
Or