/ Published in: JavaScript
Method for setting maximum on JQuery tools rangeinput slider. Add this method to RangeInput $.extend with the other get/set methods.
Expand |
Embed | Plain Text
setMax: function(val) { conf.max = parseFloat(val, 10); range = conf.max - conf.min; self.setValue(value > conf.max ? conf.max : value, $.Event("click")); }
You need to login to post a comment.
