Hello,
I have a select box defined as shown below. I want to print out the name and email address of each item in the select box as comma seperated values, like
Tom Wayne,[email protected]
Joe Parker,[email protected]
Peter Simons,[email protected]
Any way to accomplish that using JQuery?
<select multiple="multiple" name="search_results">
<option value="[email protected]">Tom Wane</option>
<option value="[email protected]">Joe Parker</option>
<option value="[email protected]">Peter Simons</option>
</select>
Thank You