Hi,
We have some scripts here where we use some AJAX to populate some of
the page.
Basically the AJAX routine calls a PHP script. That PHP script uses a
bunch of ECHO statements to create the page. Then, we use the
innerHTML to populate the section on the page.
The problem is, we have a small javascript routine in the middile of
the page which MUST be located there. It cannot be in the head.
If this is straight HTML, it works fine. But, if we use the PHP to
echo everything and then set the innerHTML, it does not work.
Is there any way to perform this? Basically use PHP to output a small
inline <SCRIPTroutin e, and have it execute?
Thank you!
Comment