How to include another html page into existing html page using jquery

We can include another html page using jquery load method

example is as shown below

<html xmlns=""> 
      <title>Loading an Html page</title> 
      <script src="jquery.js" type="text/javascript"></script> 
      $(document).ready(function() { 
        $('#loadpage').load('load.html or any server side page'); 
   <div id="loadpage" ></div> 

Leave a reply:

Your email address will not be published.

Site Footer