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 7856825
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T20:49:49+00:00 2026-06-02T20:49:49+00:00

at the moment I am using iframes on my website to display content from

  • 0

at the moment I am using iframes on my website to display content from other pages like forms. The problem I have, is on the login page, when the user logs in with a form inside an iframe, it just shows the next page inside the login iframe – which is completely useless.

I have heard that AJAX is much more flexible and dynamic for things like this, but I can’t work out how to use it, I have looked at some tutorials but don’t seem to be getting that far in displaying a page inside a page.

How can I replace my iframe with AJAX?

Thank in advance 🙂

  • 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-02T20:49:50+00:00Added an answer on June 2, 2026 at 8:49 pm

    Since you won’t be using iFrames you will need a container to put your page into. With AJAX, it is common practice to use a <div> element to hold that data. Also, jQuery or another Javascript library supporting AJAX will make your life easier with working tested code so you can focus on your business logic rather than the nitty gritty. So, in your HTML, you will need a container element:

    <div id="otherpage"></div>
    

    Then in an included javascript file, you can use this jQuery:

    $(document).ready(function() {
       $('#otherpage').load('otherpage.html', function() {
          alert('Load was performed.');
       });
    });
    

    Of course, before using that, make sure you include jQuery as well. This tutorial should help you get started with jQuery.

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

Sidebar

Related Questions

At the moment using .htaccess in my PHP Application to choose which page I'm
At the moment am using JOGL for a ball detection program I have been
I am building a cms at the moment using the zend framework and have
I'm at the moment using the PHP money_format() function , and have money_format('%.0i', $row['price'])
I have a large scale project I am working on at the moment using
At the moment I'm using a WHERE loop to display 2 columns of information
At the moment I am using: SetOutPath $INSTDIR\folder\subfolder File /r ..\Output\*.* The problem is
I have a web app that is being hit by facebook. The login page
Problem Summary At the moment when using f# I must explicitly coerce a value
So, at the moment I have a spinner which is populated from a database

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.