Grow your CSS skills. Land your dream job.

Load external website in a div

  • # October 3, 2012 at 5:47 am

    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/)

    # October 3, 2012 at 9:25 am

    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.

    # October 4, 2012 at 12:00 am

    Thanks @Senff i got the solution.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".