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.
- How to check whether a value is numeric or not using jQuery ?
- Get the numeric part of CSS property using jQuery
- How to select the last row of a table using jQuery ?
- How to select an element by name with jQuery?
- jQuery | select() with Examples
- How to select a div with a certain class using jQuery ?
- How to Select a Range of Elements using jQuery ?
- How to add options to a select element using jQuery?
- How to select ID that starts with certain character using jQuery ?
- How to get N options from the <select> element using JQuery?
- How to select elements by attribute in jQuery ?
- How to select all elements without a given class using jQuery ?
- How to select text nodes using jQuery ?
- How to select all on focus in input using JQuery?
- How to select html element using ID in jQuery when ID contains a dot character ?
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.