<button type='button' id=b1 class='btn btn-success btn-sm'>Destroy()</button>
<a href=spinner-destroy.php>
<button type='button' id=b2 class='btn btn-success btn-sm'>Refresh & Try </button></a>
<br>
<input id="spinner" class='selector' value=12 size=2>
<script>
$(document).ready(function() {
////////////////
$( "#spinner" ).spinner();
////////////
$("#b1").click(function() {
$( "#spinner" ).spinner("destroy");
})
////////////
})
</script>