This works with Google Chrome and IE, but not with Firefox. For some realities, Chrome and IE allow you to assign an empty value, although it is not part of the drop-down list.
document.getElementById('dropdownid').value = "";
Please note that I have access to jQuery, but I am not doing what I need.
$("#dropdownid").val("");
The above jQuery does not set it to an empty value, since an empty value is not part of the drop-down list. I need to assign a "" to the dropdown selected value due to some issues with legacy third party code.
Any idea?
ove source share