dhtmlXCombo and PHP

hi,



see my code :





When i change the value of z1, z2 must be reload but i can’t reloaded z2, i don’t understand !

Have you an idea ?



thanks

The code above must reload “z2” combo, but only after value in “z1” changed. The onChange event occurs when
- value selected by click or enter key pressing
- new value entered and focus modev out of combo

>> z2.loadXML(BasePath + “/_content/volmo/data/except/_undl_c.php?type=” + z1.getSelectedValue());
You can try to use
z2.loadXML(BasePath + “/_content/volmo/data/except/_undl_c.php?type=” + z1.getActualValue());

hi,

I changed the code. but I feel that my php page for the combo z2 does not reload!
the system does not revive the page. an idea?
thanks

It possible that browser cache url used for data fetching, you can try to randomize it as

z2.loadXML(BasePath + “/_content/volmo/data/except/_undl_c.php?type=” + z1.getActualValue()+"&uid="+(new Date()).valueOf());

thank you for everything. but I do have a problem with my php code. I
have the impression that it no longer objects in my memory or a result
empty in the combo. Because the php file is not recharged, it’s really strange