“Включите HTML” Ответ

Включите 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

Включите 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

Включите 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

Включите 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

Включите 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

Включите 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

Включите 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

Включите 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

Включите 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

Включите 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

Ответы похожие на “Включите HTML”

Вопросы похожие на “Включите HTML”

Больше похожих ответов на “Включите HTML” по HTML

Смотреть популярные ответы по языку

Смотреть другие языки программирования