I have got the following problem:
I send a
Ajax request to a
php file. If that returns it has to be put inside a div. Problem is, it's not the same div all the time. Now I giva a variable with the right div's id. The variable does get in the function. But nothing changes. The rule: document.getElementById(idVanTeBewerkenObject).inn erHTML = xmlHttp.responseText;
isn't executed. You can find the whole code here:
http://www.excelsior-woerden.nl/speeldozen/SpryAssets/HermanTabbedPanels.js
If I replace idVanTeBewerkenObject by 'mainContent' (the id of a div) it works.
Help please,
Herman