I’m updating a very complex script, to version 4.1.
Everything worked fine except that one point where I replaced the command loadXML with load.
z1 and z combo
old version z1.loadXML (‘accessodbccombo2.php? PA =’ + z.getComboText ());
new version z1.load (‘accessodbccombo2.php? PA =’ + z.getComboText ());
The combo is loaded fine, but I have different and unexpected behavior of the script.
What is the exact difference between the two commands?
To get the same behavior, I have to use the function doOnLoad?
void load (mixed data, function doOnLoad);