1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Application de gestion PHP_5</title>
<link rel="stylesheet" href="styles/ecran.css" type="text/css" media="screen" />
<script src="./librairies/ajax/prototype.js" type="text/javascript"></script>
<script src="./librairies/ajax/rico.js" type="text/javascript">
function registerStuff(){
ajaxEngine.registerRequest( 'getPointInfoAjax', 'http://localhost/getPointInfo.php' );
ajaxEngine.registerAjaxElement( 'pointInfo' );
}
function getPointInfo(pointID) {
alert('db1b');
$('pointInfo').innerHTML ='test';
ajaxEngine.sendRequest( 'getPointInfoAjax', "pointID="+pointID);
alert('db1c');
}
</script>
</head>
<body onLoad="registerStuff()">
<div class="Titre">Travail de diplôme</div>
<div class="Titre2">Application de Gestion</div>
<div class="Titre3">Ressources Humaines</div>
<div class="bouton" id="menu">
<a href="#">Gestion des employés</a>
<a href="#">Gestion des départements</a>
</div>
<div id="pointInfo">hgfghfghfgh fr f dsfsf sdfsd</div>
<a href="#" onclick="getPointInfo(1)">point 1a</a>
</body>
</html> |