tags:

views:

54

answers:

2

I know this is an extremely simple question... but I do not know the name of the element I am looking for so I can not research it.

I am looking to add one of those up/down arrow buttons that allows you to increment a textbox.

+2  A: 

I think what you're talking about is a Number Spinner/UI Spinner.

You'll need javascript in order to do something like this. Here is a jQuery example that you might find useful.

Brandon
That is exactly what I am looking for. Is there not an html spinner... that's a shame. Thanks :)
Mark
Only in HTML5, also see my answer.
BalusC
+2  A: 

If you can wait for HTML5, you could have used input type="number" for this. You can find here a link to a live example (works in browsers supporting HTML5 only though, currently that's only Opera).

But until then you'll need to look around for a Javascript library using the keyword "spinner".

BalusC
Thank you and thank google.. http://www.webcodingtech.com/javascript/spinner.php
Mark