I have an editor that has a minimum, maximum, & current value.
Example Min: 20, Max: 100, Current: 50
The current value is displayed in a text box & I have buttons that can increase or decrease the current value (using javascript) depending on the button clicked. This is working great, but when clicking one of the buttons the current value will only change once.
Example: if the current value is 50 and I want 60 then I would have to click the increase button 10 times.
I would like to be able to "hold down" on the button and have the value keep increasing (or decreasing) while their respective buttons are held down. Any help would be great.
Thanks
Example Min: 20, Max: 100, Current: 50
The current value is displayed in a text box & I have buttons that can increase or decrease the current value (using javascript) depending on the button clicked. This is working great, but when clicking one of the buttons the current value will only change once.
Example: if the current value is 50 and I want 60 then I would have to click the increase button 10 times.
I would like to be able to "hold down" on the button and have the value keep increasing (or decreasing) while their respective buttons are held down. Any help would be great.
Thanks
Comment