Update underlying <select> selectedIndex from Combo

I’m trying to add functionality to an existing site - including an autocomplete Combo.

However, because there are other scripts on the page that I can’t amend, I need to have the Combo update the underlying that it was created from.

The other scripts call e.g. $(’#combo’).val() for jQuery or document.getElementById(‘combo’)
However, after using the Combo control, both of these calls are failing?

Any help gratefully received.

After combo has been created, html select is removed. To get the combo value you may use getActualValue() method:

var yourCombo = dhtmlXComboFromSelect(“combo”);

var value = yourCombo.getActualValue();