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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T19:10:31+00:00 2026-05-30T19:10:31+00:00

I want to open a another page in <div></div> but when I do that

  • 0

I want to open a another page in <div></div> but when I do that it opens a new page.

I used iframe but that is discouraged, and it has scroll bars.

<div id="iframeLogin"><a href="first.php" target="_self">Link</a></div>

Is there anyway to open a page to this div?

I want it to autoload the page on to the DIV when I access the site.

  • 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-05-30T19:10:32+00:00Added an answer on May 30, 2026 at 7:10 pm

    You can use jQuery’s load method.

    $(function() {
        $("#iframeLogin").load("first.php");
    });
    

    Note that if first.php is a complete HTML page, you’ll want to only load a portion of the page.

    $("#iframeLogin").load("first.php #content");

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

Sidebar

Related Questions

I have a page which opens another page using window.open and does some work
I don't want to open another Yet Another Js VS Js thread. I guess,
I have an ASP.NET button in my application, which I want to open another
I want a link to open up another view in my webapp to display
I want to open an xlsx file, I have tried the below code,but neither
I'm trying to show a dialog (div) that's inside another div. This way, I
I have a FAQ area on my page that has all of the questions
I want to put a image on my page (page1) that is a link
I have a main page that I want to be a sort of dispatch
I have image map where i am trying to open another page by using

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.