geez18
03-18-2007, 12:53 PM
Hi,
Currently I am experiencing a problem with the referencing getElementsByTagName(), because I am using AJAX to load page content dynamically and write into a DIV-container using its property innerHTML.
The point is by this way one can only reference to objects using getElementById(), because they are not automatically being included into the DOM, unless by a DOM-parser which is not cross-browser standard yet as far as I know.
Is it possible to overwrite and simulate the function getElementsByTagName() or replace in any way?
Best regards
Philipp
Currently I am experiencing a problem with the referencing getElementsByTagName(), because I am using AJAX to load page content dynamically and write into a DIV-container using its property innerHTML.
The point is by this way one can only reference to objects using getElementById(), because they are not automatically being included into the DOM, unless by a DOM-parser which is not cross-browser standard yet as far as I know.
Is it possible to overwrite and simulate the function getElementsByTagName() or replace in any way?
Best regards
Philipp