How to catch space bar input from input type like this:
<html>
<head>
<script type = "text/javascript">
function lala(aa){
console.log(aa + " dasda");
}
</script>
</head>
<body>
<input type = "number" value = "0.00" class = "no-spin" onchange='lala(this)' />
</body>
</html>
onchange does not trigger the space bar input. I would like to change the value to 0 again when space bar is pressed.