How to set dropdownlist selected index?
Dear All,
I have load dropdownlist data using ajax and I want to set 1 item selected after an other button click.
but what I try doesn't work, please help.
the code I try using jquery:
$('#IDName :selected').val() = 2;
$("#IDName select").val("2");
Regards,