$('#mylistboxname').prev("div").find('ul').find('.k-state-selected').each(function () { myarray.push($(this).text()); });
A Southwestern adventurer striking out into the badlands of the Midwest for fun, profit, and for a wife who wouldn't move back to the Southwest :)
Tuesday, March 06, 2018
Coda Obsura: Getting the selected items of a Telerik Kendo ListBox.
Maybe I'm missing something. But I don't see any javascript API for getting the SELECTED items in a kendo listbox. I'm just binding to a string list that I pull with a read. I ended up having to get the items using jquery hunting them down by the selected style.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment