Hi,
I have a dhtmlXCombo is at middle of a long page. The problem is if there is a value in dhtmlXCombo, after the value is rendered by selectOption fn. The dhtmlxCombo field is focused and scroll the page way down. This drives my clients nut. And I need to have a way to fix this.
referralSourceCombo = new dhtmlXCombo("referral_source","referral_source",200);
referralSourceCombo.loadXML('referral_source.xml', referralSourcesLoaded);
function referralSourcesLoaded() {
var indexToSelect = referralSourceCombo.getIndexByValue(referralSourceId);
referralSourceCombo.selectOption(indexToSelect); <- this guy drives me crazy
}
I want the page position to stay at top of the page. I am using v3.0 . How do I do that ?
Thank you,
Michael