“Inclure HTML” Réponses codées

Inclure HTML

<!-- a.html: -->

<html> 
  <head> 
    <script src="jquery.js"></script> 
    <script> 
    $(function(){
      $("#includedContent").load("b.html"); 
    });
    </script> 
  </head> 

  <body> 
     <div id="includedContent"></div>
  </body> 
</html>

<!-- b.html: -->

<p>This is my include file</p>
Prickly Penguin

Inclure HTML

/* a.html: */

<html> 
  <head> 
    <script src="jquery.js"></script> 
    <script> 
    $(function(){
      $("#includedContent").load("b.html"); 
    });
    </script> 
  </head> 

  <body> 
     <div id="includedContent"></div>
  </body> 
</html>
/* b.html: */

<p>This is my include file</p>
Prickly Penguin

Inclure HTML

<!-- a.html: -->

<html> 
  <head> 
    <script src="jquery.js"></script> 
    <script> 
    $(function(){
      $("#includedContent").load("b.html"); 
    });
    </script> 
  </head> 

  <body> 
     <div id="includedContent"></div>
  </body> 
</html>
<!-- b.html: -->

<p>This is my include file</p>
Prickly Penguin

Inclure HTML

<!-- a.html: -->

<html> 
  <head> 
    <script src="jquery.js"></script> 
    <script> 
    $(function(){
      $("#includedContent").load("b.html"); 
    });
    </script> 
  </head> 

  <body> 
     <div id="includedContent"></div>
  </body> 
</html>

<!-- b.html: -->

<p>This is my include file</p>
Prickly Penguin

Inclure HTML

<!-- a.html: -->

<html> 
  <head> 
    <script src="jquery.js"></script> 
    <script> 
    $(function(){
      $("#includedContent").load("b.html"); 
    });
    </script> 
  </head> 

  <body> 
     <div id="includedContent"></div>
  </body> 
</html>

<!-- b.html: -->

<p>This is my include file</p>
Prickly Penguin

Inclure HTML

/* a.html: */

<html> 
  <head> 
    <script src="jquery.js"></script> 
    <script> 
    $(function(){
      $("#includedContent").load("b.html"); 
    });
    </script> 
  </head> 

  <body> 
     <div id="includedContent"></div>
  </body> 
</html>
/* b.html: */

<p>This is my include file</p>
Prickly Penguin

Inclure HTML

<!-- a.html: -->

<html> 
  <head> 
    <script src="jquery.js"></script> 
    <script> 
    $(function(){
      $("#includedContent").load("b.html"); 
    });
    </script> 
  </head> 

  <body> 
     <div id="includedContent"></div>
  </body> 
</html>
<!-- b.html: -->

<p>This is my include file</p>
Prickly Penguin

Inclure HTML

/* a.html: */

<html> 
  <head> 
    <script src="jquery.js"></script> 
    <script> 
    $(function(){
      $("#includedContent").load("b.html"); 
    });
    </script> 
  </head> 

  <body> 
     <div id="includedContent"></div>
  </body> 
</html>
/* b.html: */

<p>This is my include file</p>
Prickly Penguin

Inclure HTML

<!-- a.html: -->

<html> 
  <head> 
    <script src="jquery.js"></script> 
    <script> 
    $(function(){
      $("#includedContent").load("b.html"); 
    });
    </script> 
  </head> 

  <body> 
     <div id="includedContent"></div>
  </body> 
</html>

<!-- b.html: -->

<p>This is my include file</p>
Prickly Penguin

Inclure HTML

<!-- a.html: -->

<html> 
  <head> 
    <script src="jquery.js"></script> 
    <script> 
    $(function(){
      $("#includedContent").load("b.html"); 
    });
    </script> 
  </head> 

  <body> 
     <div id="includedContent"></div>
  </body> 
</html>

<!-- b.html: -->

<p>This is my include file</p>
Prickly Penguin

Réponses similaires à “Inclure HTML”

Questions similaires à “Inclure HTML”

Plus de réponses similaires à “Inclure HTML” dans HTML

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code