Isaac
asked on
Multi Select Option
I have a SharePoint jquery form that I use in a CEWP and one of the elements on the form is a Multi Selecion element, which is a drop down list that allows for multiple selections. Ex:
<select name="cars" multiple>
<option value="volvo">Volvo</optio n>
<option value="saab">Saab</option>
<option value="opel">Opel</option>
<option value="audi">Audi</option>
</select>
The element needs to be pre-selected with data from a SharePoint list. I have a column called cars and the data is comma dilimited (Saab,Audi).
So, using spservices and jquery, how do I pre-select the element with "Saab" and "Audi"?
Thanks for any help or insight you can provide.
<select name="cars" multiple>
<option value="volvo">Volvo</optio
<option value="saab">Saab</option>
<option value="opel">Opel</option>
<option value="audi">Audi</option>
</select>
The element needs to be pre-selected with data from a SharePoint list. I have a column called cars and the data is comma dilimited (Saab,Audi).
So, using spservices and jquery, how do I pre-select the element with "Saab" and "Audi"?
Thanks for any help or insight you can provide.
ASKER
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open in new window