This question already has an answer here:
Simple code:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<script type="text/javascript" src="http://ift.tt/1apAubC
latest.min.js"></script>
<script type="text/javascript">
$( "#target" ).keyup(function() {
alert( "Handler for .keyup() called." );
});
</script>
</head>
<body>
<form>
<input id="target" type="text">
</form>
</body>
</html>
I can type to the input field but no alert is shown. I have also tried Chrome and Mozilla.
Aucun commentaire:
Enregistrer un commentaire