I use the jQuery UI spinner in my pages which are now required to be responsive, thus presenting the challenge of adjusting the width of my jQuery UI spinners dynamically.
Does anyone know of any way to do this?
HTML
<input type="text" id="myspinner" style="width: 50px" />
JavaScript
$(function(){
$("#myspinner").spinner();
});