View Full Version : Regarding Dynamic Ajax Script

06-01-2009, 11:41 PM
1) Script Title: Dynamic Ajax Content

2) http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm

3) Describe problem:

I'm able to call in .html pages into the main <div> area IF the .html page has either hard coded HTML in it or if it's calling an iFrame with the content. But, when I try to call a page into the container div that has nothing but a javascript call like this:

<!-- Templates list code start. -->
<script type="text/javascript" src="http://www.blahblahblah.com/codes/pr_interface.php?cols=3&amp;rows=5&amp;sadult=0&amp;sp=0&amp;bgcolor=%23FFFFFF&amp;type=3&amp;category=55&amp;pr_code=y82xS3M7nnKy0IX0x3HAr4L2zKMTfM"></script>
<!-- Templates list code end. -->

It won't display. In other words, i'm summoning a page with that code in it into the main content div but nothing will display. But, when I summon a page using an iFrame containing content the iFrame and content display. I really don't want to use an iFrame if I don't have to.

Also, if I just type in the url to the page containing that javascript code it displays fine. It just won't call into the div. Ideas?