Demo of Spinner Option object, name & value

HTML

<input id="spinner" class='selector' value=12 size=4>
<div id=msg></div>

JQuery

<script>
$(document).ready(function() {
////////////
$( "#spinner" ).spinner({
 });
////////////
var str;
var option_obj = $( "#spinner" ).spinner( "option" );
for (var key in option_obj) {
 if (option_obj.hasOwnProperty(key)) {
   console.log(key + " -> " + option_obj[key]);
   str = str + key + " -> " + option_obj[key] + "<br>";
}
}
$('#msg').html("<pre><code>"+str+"</code></pre>");
//////////
})
</script>