i have a variable with this value ‘a|mike||c|John||d|Pierre’
(the a ,b and c are guid’s and not letters in real)
now i want to populate a html select element with the id ‘officers’ with options with the ‘a’ as value and the name as text.
i’m stuck with the split on the |, the arrays and the jquery to populate the list….
1 Answer