Returns the selections of a listbox or dropdown box as an array or optionally as a single string value.
$.fn.listGetSelections = function(singleValue)
singleValue
Optional - if true returns only the first selection as a string rather than an array or null if nothing is selected.