JSON
-
jquery json select프로그래밍/jquery 2016. 6. 20. 17:32
jquery json select var param = '' $.getJSON('/get_data.hosim',param, function(data){ var select = $('#sel_list'); var options = select.attr('options'); $('option',select).remove(); $.each(data,function(index,array){ options[options.length] = new Option(array['name']); }); }); 도움이 되셨나요?