Setting empty value of a dropdown in firefox not working
I am trying to set the default value of a drop down as empty; ie not
selecting any value.
$dropdown.prop("selectedIndex", -1);
It works in IE and chrome, but doesnt work in Firefox. In Firefox, it
always set the value as default value.
No comments:
Post a Comment