jQuery UI LibrarySpinner


Syntax

  • $( "#id" ).spinner();
  • $( "#id" ).spinner({min:0,max:100,step:5,spin:function( event, ui ) {}});

Parameters

ParametersDetail
minMinimum value
maxMaximum value
stepHow much the value increases by on spinner click, can be decimal
spinCan be used to check the spinner value, ui.value and do something

Remarks

Official Example

Official Documentation