make a programming code box - Javascript jQuery Method and Property

Javascript examples for jQuery Method and Property:jQuery Method Example

Description

make a programming code box

Demo Code

ResultView the demo in separate window

<html>
   <head> 
      <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js" < script>
        <script>
            $(function(){//from w ww.  j  av a  2s. c  o m
                $("#headerDiv").load("header.html");
            });
        
      </script> 
   </head> 
   <body> 
      <div id="headerDiv"></div> 
      <!-- Rest of the code -->  
   </body>
</html>

Related Tutorials