INPUT type="number" Strangeness

by Marcus Crowley

HTML

<script src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
<p>
This is a INPUT type="number".
Try as you may, you cannot click the up arrow in Chrome, and the down arrow does nothing.
</p>
<p>
It seems as though the e.preventDefault() inside the mousemove() event listener is interfering with the INPUT.
</p>

<input type="number" value="1"/>

JavaScript

$(function() {
	$(document).on('mousemove', function (e) {
		e.preventDefault();
	});
});