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

Author :- Amar Daxini

We can include another html page using jquery load method.
Example is as shown below.


<html xmlns="http://www.w3.org/1999/xhtml"> 
 <head> 
     <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');
        });
     </script>
 </head>
 <body>
    <div>loadpage</div> 
 </body>
</html>