Skip to content
Related Articles

Related Articles

jQuery UI Spinner stop Event

View Discussion
Improve Article
Save Article
Like Article
  • Last Updated : 19 Feb, 2021

jQuery UI consists of GUI widgets, visual effects, and themes implemented using jQuery, CSS, and HTML. jQuery UI is great for building UI interfaces for the webpages. jQueryUI spinner widget helps us to increment and decrement values of input element using up and down arrow. In this article, we will see how to use stop event in jQuery UI slider. The stop event is triggered when triggered after a spin in the jQuery UI spinner.


$( ".selector" ).spinner({
   stop: function( event, ui ) {}

CDN Link: First, add jQuery UI scripts CDN link, needed for your task.

<link href = “” rel = “stylesheet”>

<script src = “”></script>

<script src = “”></script>

Below example illustrate the jQuery UI Spinner stop event:



<!DOCTYPE html>
<html lang="en">
        <meta charset="utf-8" />
        <link href=
              rel="stylesheet" />
        <script src=
        <script src=
        <style type="text/css">
            #gfg input {
                width: 100px;
            $(function () {
                    stop: function (event, ui) {
        <h2>jQuery UI | spinner stop event</h2>
        <input id="gfg" />



My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!