jQuery UI | Spinner to select numeric data
Spinner in jQuery UI is used to increase or decrease the value by using arrow keys or by using up/down buttons. This spinner is used for numeric inputs.
We will use the CDN link in code to add different libraries and styles. To display this Calendar like any other jQuery UI widget, we have to link to jQuery and jQuery UI. Here is a simple code with all HTML tags to display a spinner. You can just copy this code to display the spinner.
Default value: It is used to set the default value to the input box.
Maximum and Minimum value: It can be set the Upper and Lower limits for the spinner.
Page value: We can set the value of Page up or Page down key button value by using page value.
Step Value: We can set the value of up arrow or down arrow key button value by using step.
Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML course.