Javascript in async loaded layer

F

fatica

Hi all,

I have a page that loads another remote document into a layer, which
looks something like this

document.getElementById('details_pane').innerHTML =
loadXMLDoc('http://www.blah.com/index2.php?option=com_propertydisplay&no_html=0&mlsid='
+ mlsid);

The page that's being loaded has Javascript in it, including a
mouseover "tooltip" routine and an image swap function. The calls to
that javascript are dynamically assembled, based on the variable number
of pictures I might have to display in the "details pane".

The problem is that the javascript in the async loaded page never gets
loaded/parsed by the browser (I think). As a result, all functions and
variables become "unknown". I can't move the JS to the calling page
because it's dynamically generated based on a lot of info I can't
predict.

Any help would be greatly appreciated. Hopefully its just cuz I'm
sleepy and can't see the solution.

Thanks,

Mike Fatica
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,070
Latest member
BiogenixGummies

Latest Threads

Top