1
Answer

How to load the contents of a URL in a div tag

Arjun Panwar

Arjun Panwar

12y
1.3k
1
Hi,

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.

Thanks


Answers (1)