Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Load external website in a div

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #40131
    matthewb
    Member

    Hi all,

    i am trying to load external sites in a div on clicking tabs. i am new ajax jquery cud any one can suggest for correct solution.

    Below is the link i have tried:

    [Jsfiddle](http://jsfiddle.net/Ztxsx/1/)

    #111221
    Senff
    Participant

    To load external sites within your page, you really should use iFrames — that’s why they exist.

    Loading external sites with Ajax (I think that’s what you’re trying to do) won’t work cause you can’t load code in a DIV using Ajax if it’s on two different domains.

    #111259
    matthewb
    Member

    Thanks @Senff i got the solution.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.