I have JSON data that I am displaying I have a cutoff age now I am including a slider once the user changes the cutoff age on slider I want to change the cutoff age based on that. If you look at my code at http://jsfiddle.net/gFzCk/10/ you will see I am displaying 2 colors green and red for records below or above the cutoff age. When the user moves the slider how can I change the cutoff age based on that.
Share
classfor age number on every data.changeevent.each, and compare the value with$(this).html()and(#number).val()addClass(‘green’) for one condition and red in other conditionive update your jfiddle http://jsfiddle.net/bondythegreat/MzQEn/1/