How to set selected value as empty for dropdownlist via jquery
It will do the same .
$('#elemtId').val('')
Will achieve same result
$("#mySelect option[value='']").attr('selected', true)
It will do the same .
$('#elemtId').val('')
Will achieve same result
$("#mySelect option[value='']").attr('selected', true)