Have some HTML to show with that? there is no reason why ".val()" would not bring back what it is supposed to: an array of values from selected <option> unless you were using it wrong, your selectors are wrong, or your HTML is wrong....
So show more code and it'll be easier for others to help you :-) On Sep 10, 11:32 am, shaded <dar...@eztransition.com> wrote: > Im using a plugin called select chain and modified it a bit. Right now > im trying to pass only selected values of a multi select list through > ajax. The following function does a bit more but im concerned with the > part that says > > cust_val: customer.val().join(",") > > This should return only selected values. This is what happens if i put > it in an alert(). however when i check firebug to see what was > posted it shows the entire list. I've tried alternatives like > option:selected.... they all work for aler() .. the info passed > through ajax shows the entire list. > > please help. > > customer.selectChain({ > target: market, > url: callback_url, > type: "POST", > data: { ajax: true, multsel: > market_selects, cust_val: > customer.val().join(",") } > }).trigger('change');