I'm currently working on extracting values from a select list in a jQuery mobile application.
Here's the markup for my select element:
<div data-role="fieldcontain">
<label for="stuff" class="select">Stuff:</label>
<select name="stuff" id="stuff" multiple="multiple">
<option value=''>Select One</option>
<option value="Stuff 1">Stuff 1</option>
<option value="Stuff 2">Stuff 2</option>
<option value="Stuff 3">Stuff 3</option>
<option value="Stuff 4">Stuff 4</option>
<option value="Stuff 5">Stuff 5</option>
<option value="Stuff 6">Stuff 6</option>
</select>
</div>
Is there a way to retrieve a comma-separated string of values from this multiselect feature?