how about using an array?
data: {
...
'select' : ['value1', 'value2', 'value3'],
...
},
edit : ah sorry, here is the code, a few caveats:
'select' : $('#myselectbox').serializeArray(),
To work with serializeArray (), all form elements must have a name attribute. the value 'select'above will be an array of objects containing the name and values of the selected elements.
'select' : [
{ 'name' : 'box', 'value' : 1 },
{ 'name' : 'box', 'value' : 2 }
],
:
<select multiple="true" name="box" id="myselectbox">
<option value="1" name="option1" selected="selected">One</option>
<option value="2" name="option2" selected="selected">Two</option>
<option value="3" name="option3">Three</option>
</select>