dynamic select option dropdown in jquery
var temp = "myValue"; // Create New Option. var newOption = $('
Here is what the above code is Doing:
1. Create a new Option.
2. Set the value and text of the Option.
3. Append the Option to the DropDownList.
4. Select the Option.