Page 1 of 1

What do you call this

Posted: Wed Nov 09, 2011 8:37 pm
by manleybruce
I have a screenshot on this attach document but I do not know what you call this type of function in a html form. Is it just simply a textarea with a scrollbar which allows you to select numbers higher or lower? If I know what it is then I can research this I find out how to code it myself.

Thank You

Re: What do you call this

Posted: Wed Nov 09, 2011 8:41 pm
by Celauran
It's generally called a spinner and doesn't exist in HTML. You can simulate them using JS, mind you.

Re: What do you call this

Posted: Wed Nov 09, 2011 8:46 pm
by twinedev
I'm not sure what it is called either, but here is some sample code:

http://javascript.internet.com/buttons/up-down-box.html

Note they use two separate input buttons, to do what you want, you'd need an image of two buttons and act upon clicking on that image.

-Greg