Return to Snippet

Revision: 35159
at November 3, 2010 11:38 by dmertl


Initial Code
setMax: function(val) {
    conf.max = parseFloat(val, 10);
    range = conf.max - conf.min;
    self.setValue(value > conf.max ? conf.max : value, $.Event("click"));
}

Initial URL


Initial Description
Method for setting maximum on JQuery tools rangeinput slider. Add this method to RangeInput $.extend with the other get/set methods.

Initial Title
JQuery Tools RangeInput - Set maximum

Initial Tags
javascript, jquery

Initial Language
JavaScript