Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9095421
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T23:35:44+00:00 2026-06-16T23:35:44+00:00

I wounder if there is any way to load in content from a external

  • 0

I wounder if there is any way to load in content from a external page (page in same website/root) to a div wihout using javascript?

The site use alot of jquery load() but it have a page that must be available wihout having javascript activated. It should fit the website structure much better to load in that content insteed of reload the whole page, so now I looking for some solution without javascript if that exist.

Example: the div I want to load content to is Index.html #get_content and the page and div that contains the content is Content.html #send_content.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T23:35:45+00:00Added an answer on June 16, 2026 at 11:35 pm

    jQuery load() is the best way to accomplish this on the server-side.

    You could use an iFrame, like this:

    <iframe src="http://example.com/something.html"></iframe>
    

    There’s a lot of properties which can be used in iFrame to adjust the width, border, height and other stuff.

    And starting in HTML5 (Only Chrome has support for this yet), you can use the seamless property to kinda make the iFrame part of the document, like load(), instead of a window inside a document.

    Usually PHP is a really easy server-side language to cut-and-paste into your projects (unless if it’s depend on another conflicting server-language) and you could do something like this, which would accomplish something just like load():

    <?php
    $homepage = file_get_contents('http://example.com/something.html');
    echo $homepage;
    ?>
    

    Edit: As Juan Mendes pointed out, you would be responsible for fetching the related JS and CSS if you used PHP (or any server-language at any rate), and that the CSS/JavaScript may not work because some selectors may depend on parent/ancestor nodes being present. With iFrames, you’re just viewing the external page within your document, unlike server-language parsers, which scrape the code from the site and then print it on the page.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I wonder is there any way we can create regions in aspx page as
I wonder if there's any way to do a while loop in django (I
i'm using spring+tapestry for authenticate webuser. I wonder is there any technique i can
I wonder if there's any tool/website where I can plot some run times as
I wonder is there any way to spin images in visual basic like a
I wonder if there is any way to generate culture neutral CSV file or
I have a loop with the same tags to load content in ten cells
I wonder if there's any way something like this would be possible for value
I wonder there is any way when user completely uninstall my app ,few days
I wonder is there any way to tell the osgi console in eclipse not

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.