Jquery.inputNumber
HTML5 like input, but better
Install / Use
/learn @JiLiZART/Jquery.inputNumberREADME
HTML5 like input number
HTML5 like input number, but better
Features
- Simple and easy to install.
- Only 1 KB (minified gzipped).
Installation
Simple
Include jQuery and jquery.inputNumber.js onto your page:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<script src="jquery.inputNumber.js"></script>
<link rel="stylesheet" href="inputNumber.css">
If you want mousewheel support include:
<script src="jquery.mousewheel.js"></script>
$('input.num').inputNumber({
negative:true, //allow negative numbers
positive:true, //allow positive numbers
wrapClass:'ranged-input',
upClass:'up',
upTitle:'Incrase',
downClass:'down',
downTitle:'Decrace'
});
Npm
npm install jquery-inputnumber
import InputNumber from 'jquery-inputnumber';
import 'jquery-inputnumber/inputNumber.css';
$('input.num').inputNumber();
License
The MIT License, see the included License.md file.
Related Skills
node-connect
347.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
