You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

26 lines
578 B

  1. <html>
  2. <head>
  3. <script type="text/jscript" src="http://code.jquery.com/jquery-2.1.0.min.js"></script>
  4. <script type="text/jscript">
  5. $(document).ready( function() {
  6. $("#btInfo").click(function() {
  7. $("#infoDpt").load("applet.php")
  8. });
  9. $("#btChimie").click(function() {
  10. $("#infoDpt").load("test.php")
  11. });
  12. });
  13. </script>
  14. <?php
  15. echo "<p>Le département …</p>";
  16. ?>
  17. </head>
  18. <body>
  19. <button type="button" id="btInfo">applet</button>
  20. <button type="button" id="btChimie">test</button>
  21. <div id="infoDpt"></div>
  22. </body>
  23. </html>