|
|
@@ -0,0 +1,25 @@ |
|
|
|
<html> |
|
|
|
<head> |
|
|
|
<script type="text/jscript" src="http://code.jquery.com/jquery-2.1.0.min.js"></script> |
|
|
|
<script type="text/jscript"> |
|
|
|
$(document).ready( function() { |
|
|
|
$("#btInfo").click(function() { |
|
|
|
$("#infoDpt").load("applet.php") |
|
|
|
}); |
|
|
|
$("#btChimie").click(function() { |
|
|
|
$("#infoDpt").load("test.php") |
|
|
|
}); |
|
|
|
}); |
|
|
|
</script> |
|
|
|
|
|
|
|
<?php |
|
|
|
echo "<p>Le département …</p>"; |
|
|
|
?> |
|
|
|
</head> |
|
|
|
|
|
|
|
<body> |
|
|
|
<button type="button" id="btInfo">applet</button> |
|
|
|
<button type="button" id="btChimie">test</button> |
|
|
|
<div id="infoDpt"></div> |
|
|
|
</body> |
|
|
|
</html> |