Advanced PHP tutorials experts
DATA = {"test:"1","test1:"2"}
DATA.forEach(function (item, index) { $("#CO231_select_from").append($('<option>', {value: index, text: item})); $("#CO231_select_to").append($('<option>', {value: index, text: item})); });
No comments:
Post a Comment