Main
Home
Contact Staff
Request
Graphics Directory

Site
Updates Archive
Previous Requests
History
FAQ
Terms
Previous Layouts
Staff
Affiliates
Credits
Link Back

Graphics
Avatars
Banners
MS Paint
Posters
Textures
Transparencies
Wallpapers
Miscellaneous

Drifting Designs Tutorials > > Coding > > JavaScript > > Up and Down Box




Up and Down Box



You probably won't end up using this code any time during your life, but it's nice to know it exists anyway. This code allows a person to change the value in a textbox very easily, so it's helpful in forms and such.



Enter the following code in your Body section of your page, where you want the text box to be.




Where it says 1 after "value", you may change it to whatever number you want to start with. For example, in the example text box I gave near the middle of this page, the starting value is 10.

Note: This code works for browsers Internet Explorer 4 and above, and NetScape 3 and above. I first learned the code from JavaScript Made Easy. Thanks so much to it!
Layouts
Div Layouts
Frames Layouts
Pop-Up Layouts
Table Layouts

Neopets
Shop Signs
Guild Layouts
Full Page Layouts
Miscellanous

Tutorials
Coding
Graphics
Other

Hosted
Hosted by: