Top Ad unit 728 × 90

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: 5
All Rights Reserved by ASENwebmedia © 2014 - 2015
Powered By Blogger, Developed by Asenwebmedia

Contact Form

Name

Email *

Message *

Powered by Blogger.