This is a usecase for slider.
JSControlTags.Slider
Optionnal parameters
Click here to disabled slider and textBox associated to slider.