Author: dvongrad | Posted on: 9/8/2009 3:22:26 PM | Views : 285

In my application, I can set an asp:TextBox value in JavaScript with something like:
document.getElementBuId("txt").value = 'Test';
I can then get the value of that text box on the server side with:
string str = txt.Text; (str = "Test")
However if I add a single option to an asp:DropdownList in Javascript with something like:
var opt = document.createElement("option");
document.getElementById("ddl" Go to the complete details ...