Mushtaq Ali Mushtaq Ali - 8 months ago 53
jQuery Question

Adding html file to div tag jquery

I am trying to add html page to

tag using jQuery. I tried using load, get function but that did not work. Any advice how this can work?

I am learning and working on
with just some basic knowledge of jQuery, please advise.

I am using jQuery 3.1

<div id="flipbook">
<div class="hard"> Turn.Js </div>
<div class="hard"></div>
<div id="page1"> </div>
<div> Page 2 </div>
<div> Page 3 </div>
<div> Page 4 </div>
<div class="hard"></div>
<div class="hard"></div>

<script type="text/javascript">
width: 400,
height: 300,
autoCenter: true

$(function () {
$.get("page1.html", function(data) {


Assuming you are getting data back from page1.html, try:

$.get("page1.html", function(data) {