Bonjour,
pourquoi ce code ne fonctionne t-il pas sur IE mais fonctionne sur FF ?
Merci d'avances pour vos éclaircissements.
mathmax
Modifié par mathmax (10 May 2009 - 16:59)
pourquoi ce code ne fonctionne t-il pas sur IE mais fonctionne sur FF ?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
<SCRIPT type="text/javascript" src="Panier_fichiers/jquery.min.js"></SCRIPT>
<SCRIPT type="text/javascript" src="Panier_fichiers/jquery-ui.min.js"></SCRIPT>
<SCRIPT type="text/javascript">
$(function() {
$("#test").attr("onclick", "alert('hello world')");
});
</SCRIPT>
</head>
<body>
<P id="test">click here</P>
</body>
Merci d'avances pour vos éclaircissements.
mathmax
Modifié par mathmax (10 May 2009 - 16:59)