This website is dedicated to common, day to day programming and database related Frequently Asked Questions. Popular Programming and Database Articles under one blog
If you know the value you can set it like this
$("#myddl").val("somevalue");
Setting through index
$("#mydropdownlist").attr('selectedIndex', 0);
Post a Comment
No comments:
Post a Comment