I have two combobox and one url which is sending me json data to populate inside the combobox. How can I use same url to populate the combobox.
`Can I use` $(".loctype").autocomplete({
source: function(request, response){
$.ajax..
}
});
I am not sure whether this is possible or not. I will appreciate if someone point me toward right direction.
my html code :
<p>
<label for="ltype">Location Type</label>
<select id="loctype">
<option value="1">Warehouse</option>
<option value="2">New Burg</option>
</select>
</p>
<p>
<label for="sku">Pallet Status</label>
<select id="pstatus">
<option value="3">3</option>
<option value="4">4</option>
</select>
</p>