I would like to get the value of option dropdown when the page is started without selecting it. I already successfully get the value but the text didn't show up on the dropdown interface.
Here is what I do to get the value,
$("#firstDropdown").val(function () {
getCode($(this).val());
});