SELECT MULTIPLE VALUE USING JQUERY API -
please me out value select in select multiple tags.
below jquery code
$.get('/api/courses').done(function(data) { var courses = data.courses; object.keys(courses).foreach(function(key, data) { $('#courses').append($("<option>", { value: $('#courses').val(), text : courses[key].course_name })); }); });
Comments
Post a Comment