bapp12.indd 02/17/2015 Page 569
Selectable
METHOD DESCRIPTION RETURN
VALUESORTABLE METHODSselectable(options) Turns the children of selected
element(s) into selectable elements.
Options can be specifi ed by passing
an object literal as the fi rst argument
using key, value pairs. For a complete
list of options, see the “Selectable
Options” section later in this appendix.jQueryselectable('option') Returns an object containing key value
pairs representing the current
selection of options.Objectselectable(optionName) Returns the current value of the
specifi ed option.Mixedselectable(optionName, value) Sets the value of the specifi ed option. jQueryselectable('disable') Disables selectable functionality on the
selected element(s).jQueryselectable('destroy') Completely removes the selectable
functionality.jQueryselectable('enable') Enables selectable functionality on the
selected element(s).jQueryselectable('refresh') Refreshes the position and size of each
selected element.jQueryselectable('widget') Returns a jQuery object containing the
selectable element.jQuery