Is there a consistent way across browsers to hide the new spin boxes that some browsers (such as Chrome) render for HTML input of type number? I am looking for a CSS or JavaScript method to prevent the up/down arrows from appearing.
<input id="test" type="number">
转载于:https://stackoverflow.com/questions/3790935/can-i-hide-the-html5-number-input-s-spin-box