refresh:function(b,c,e){
(this.options.disabled||this.element.attr("disabled"))
&&
this.disable();
var g=this.element,f=g[0].nodeName.toLowerCase(),
j=f==="input"?parseFloat(g.attr("min")):0,
h=f==="input"?parseFloat(g.attr("max")):g.find("option").length-1,
k=f==="input"&&parseFloat(g.attr("step"))>0?parseFloat(g.attr("step")):1;
if(typeof b==="object"){
if(!this.dragging||b.pageX<this.slider.offset().left-8||b.pageX>this.slider.offset().left+this.slider.width()+8)
return;
b=Math.round((b.pageX-this.slider.offset().left)/this.slider.width()*100)
}
else
b==null&&(b=f==="input"?parseFloat(g.val()||0):g[0].selectedIndex),b=(parseFloat(b)-j)/(h-j)*100;if(!isNaN(b)){b<0&&(b=0);b>100&&(b=100);
var l=b/100*(h-j)+j,
m=(l-j)%k;
l-=m;// IF I comment out this line then it will accept the invalid input but step increment wont happen.....