1. )
$('#<%=DdlLocation.ClientID%>').val('1').attr("selected","selected");
2.)
$("#<%=DdlLocation.ClientID%> option[value='1' ] ").attr("selected","selected");
3.)
$("#<%=DdlLocation.ClientID%> option[text='c' ] ").attr("selected","selected");
No comments:
Post a Comment