Hi, can i ask some help ,my problem is that how can i display in the dropdownlist using jquerry.
for example that in my database i have 1 table and 2 columns with 10 records or rows.
assume that i already querried all the colors in the database,but how to display this,
here is my snippet.
$('idselect').change(function(data){
$('myoption').append('<option></option>').val(data.myval).html(data.mytext);
});
here is the html
<select id="idselect">
<option id="myoption"></option>
</select>
Thank you in advance.