Mavengers
Developer's Blog
Wednesday, April 15, 2015
asp.net listbox select items by value jquery
$.each(data[0].Work.split(","), function (i, e) {
$("#<%=lb.ClientID%> option[value='" + e + "']").prop("selected", true);
});
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment