The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

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:


    # 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.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed