jQuery UI Widgets › Forums › General Discussions › Lists › DropDownList › Get Initially Selected Item
Tagged: bootstrap, combobox, JavaScript, jquery combobox, jqwidgets, jqwidgets combobox
This topic contains 1 reply, has 2 voices, and was last updated by Peter Stoev 10 years ago.
What is the proper way to get the initially selected item? I thought the following jsfiddle would work:
http://jsfiddle.net/aoverton07/FGGMU/180/
but it returns ‘undefined’…
Hi aoverton07,
You forgot that you do not have selected item when checkboxes is turned on. You have Checked Items so you need to use different API.
Best Regards, Peter Stoev
jQWidgets Team http://www.jqwidgets.com
You must be logged in to reply to this topic.