Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.getJSON("removerequest.htm",{ ids: selectedString }, function(data){
- $('#removerequestdiv').text('');
- var output = [];
- output.push('<select id="addedList" multiple="multiple" size="10">');
- for (var index in data) {
- output.push('<option value="' + data[index].id + '">' + data[index].voornaam + data[index].familienaam + '</option>');
- }
- alert(output);
- output.push('</select>');
- $('#removerequestdiv').html(output.join(' '));
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement