i got a problem a can't wrap my head around! I'm just trying to show 'test' in my console to see if my selector works. I commented out everything around it, the whole script, besides the selector, but it still wont work. I'm new to jQuery so maybe I Implemented something wrong? Here is my code:
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script>
<script type="text/javascript">
$('#find').on("click", function(){
console.log("test");
});
</script>
</head>
<body>
<p>Postleitszahl:</p>
<input type="number" autocomplete="on" name="inp" class="inp">
<button type="button" id="find">Finden</button>
<p class="outp"></p>
</body>
</html>