“Dołącz HTML” Kod odpowiedzi

Dołącz 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

Dołącz 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

Dołącz 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

Dołącz 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

Dołącz 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

Dołącz 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

Dołącz 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

Dołącz 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

Dołącz 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

Dołącz 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

Odpowiedzi podobne do “Dołącz HTML”

Pytania podobne do “Dołącz HTML”

Więcej pokrewnych odpowiedzi na “Dołącz HTML” w HTML

Przeglądaj popularne odpowiedzi na kod według języka

Przeglądaj inne języki kodu