tusho wrote: > On 29/09/2008, Ed Murphy <[EMAIL PROTECTED]> wrote: >> I transfer a prop from myself to tusho for attempting to build a >> spinner control for the Assessor's vote entry form. (I couldn't >> figure out how to adapt it to multiple controls per page, so ended >> up adapting a different example. But the effort is appreciated.) >> > > It works just the same for multi ones. Already coded.
I tried replacing this: <input class="rocket_controls" value="1" min="-5" max="10"> with this: <input name="foo" class="rocket_controls" value="1" min="-5" max="10"> <input name="bar" class="rocket_controls" value="1" min="-5" max="10"> and it generated two pairs of buttons, but one pair was the wrong size, and they both affected the same input control. Anyway, I just went with inline JS (since the input controls are generated by a loop anyway). Also, due to the usual nature of input, I replaced the half-height ^ and v buttons with full-height + (add 1) and ! (increase to maximum) buttons.