Set combobox value using jquery
To change the value of the combobox based on the selection in the drop down, this should do the trick:
$("#combobox").change(function() {
var curVal=$(this).val();
$("#combobox").combobox("autocomplete",curVal);
});
There needed to be a function to handle the change of the combobox select field. On change it will run the combobox function with the autocomplete value of the currently selected option in #combobox.
Set combobox value using jquery
Reviewed by Ashok Sen
on
00:43:00
Rating:

No comments:
Thanks for sharing your valuable comments.