How to load data from multiple pages? Cross Site Scripting - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

How to load data from multiple pages? Cross Site Scripting

ColacXColacX Posts: 141Member
Hi there I have some diffrent sites that i'd like to view as one long page using javascript is there anyway to do that?

The reason is that they are related in a sense and that I can use javascript to do some counting of things that i usually do everyday aswell as a lot of other people in my school does.

I tried using AJAX but im not sure what i'm doing wrong or maybe AJAX might be restricted to one page only.

Heres some code from my FAILED ajax test.
[code]











Your result will display here



[/code]

Comments

  • mac_doggiemac_doggie Posts: 488Member
    With AJAX you are restricvetd to one domain.
    You can use IFrames I think and then grab the content from them with Javascript...
    ;-)
    -mac-
    mailto:[email protected]
    the Netherlands...
Sign In or Register to comment.