Description
Creates a select control in place of the html element with the id specified. It functions similar to Ajax.InPlaceEditor but instead of an input control, it creates a select control with a list of options from which to choose. The parameters ‘values’ and ‘labels’ are arrays (of the same length) from which the options are defined.
I took the liberty to update InPlaceSelect class for scriptaculous since I felt some features where missing.
- Added option “okButton” (default true)
- Added option “okText” (default ‘ok’)
- Added option “cancelText” (default ‘cancel’)
- Added option to take use of the onChange method or not. (default false)
- Added support for multi choice selects
- Added option “multiSelect” (default false)
- Added option “multiDelimiter” (default ‘<br>’)
Previous version available here


