I am trying to fill combobox with Javascript but I couldtn be able do it successfuly. This is very simple but I havent worked with Javascript for a long time.
Can anybody help me? here is my code...
<script>
var x = document.getElementById("demo");
var s=""
for(i=1;i<42;i++)
{
s += '<option value='+i+'>'+points[i].musteri+'</option>';
}
document.getElementById('demo').innerHtml = s;
</script>