Results 1 to 3 of 3

Thread: Dynamic Ajax Content

  1. #1
    Join Date
    Aug 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Dynamic Ajax Content

    Hi all, I need a help in Ajax!
    im using this Script http://www.dynamicdrive.com/dynamici...jaxcontent.htm and i want to display in that "content" dynamic pages ... for example the site of google.com ... or in my web pages content /index.php?id=1 or else..
    so anyone can help me..? how can i modify that script..?

  2. #2
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    because this is ajax, it is not possible to include content from another domain, such as google. you have to stick with pages hosted on the same domain.

    Quote Originally Posted by http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm
    Note: Due to security limitations, the external pages loaded must be from the same domain as the encompassing page. Any external .css and .js files associated with these pages, however, can be from any domain.

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    That's right traq. But other than that Landish, for pages on your own site, just follow the instructions on the demo page. If you need help after trying that out:

    Please post a link to the page on your site that contains the problematic code so we can check it out.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •