PDA

View Full Version : loading external page containing javascript with Ajax not working



operajoe21
03-28-2008, 09:58 AM
I'm trying to load a page containing a javascript as in http://www.dynamicdrive.com/dynamicindex17/featuredcontentglider.htm into the main page using Ajax as in http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm but not working i need help with that. Thanks in advance.

Nile
03-28-2008, 10:59 PM
I don't really get what you want, can you please explain and make it clearer, what you said is very unclear in various reasons.

operajoe21
04-12-2008, 07:44 AM
I'm using AJAX to open external htm pages in a div in a main page just as in http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm. One of these external htm pages has its own CSS and javascript files, so I use loadobjs on the link in the main page opening this external page to load the javascript and the css. My problem is that this external page also has javascript in its body section not in an external file. what do i need to do to load this script as well.

I hope I am much more clearer. Thank you for your time and patience.