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
| <!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Document sans titre</title>
<script language="javascript">
function select_version(mot) {
alert(mot);
}
</script>
</head>
<body>
<form name="choix_version_dvd" method="post" action="index.php?page=ajout_dvd">
<span style = 'margin-left:180px'>Les versions standard et collector existent déjà, sélectionnez la version à modifier</span><br />
<input type="image" name="imgstd" src="images/buttons/standard.jpg" alt="" style="margin-left:310px; cursor:pointer" onclick="select_version('standard')"/>
<input type="hidden" name="standard" id="standard" />
</form>
<?php
if(isset($_POST['standard'])){
echo "j'ai cliqué sur standard";
}
?>
</body>
</html> |