JavaScript Detect Entrée Appuyez sur l'entrée
var el = document.getElementById("myInputID");
el.addEventListener("keydown", function(event) {
if (event.key === "Enter") {
// Enter key was hit
}
});
Friendly Hawk