Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Kevin on May 03, 2008 18:51
open dhtmlx forum
Combo with loadXML - Error on

When I try to set the value of a combo that was loaded with data via XML as so:

z10.setComboValue(250);

I get the following error:

[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMNSHTMLInputElement.setSelectionRange]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://[SITE_NAME]/dhtmlx/dhtmlxCombo/codebase/dhtmlxcombo.js :: dhtmlXRange :: line 970" data: no]

If I don't load data via XML, I can set the value without a hitch.

Please help!

Kevin
Answer posted by Support on May 07, 2008 01:47
I'm not really sure about exact reason of problem, but most probably it caused by native auto-complete feature in FF
Please try to use attached version of js file instead of original one.

If problem still occurs for you - please send any kind of sample where problem can be reconstructed.
Attachments (1)