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.
There are three methods for adding arrows in HTML: entity number. entity name. hexadecimal reference.
You need to tell the html that you want the arrow to be big. The more bigger you want it, the more bigger you should tell it to be.
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".
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With