1. 01. Incoming
  2. 02. Hifi
  3. 03. Lofi
  4. 04. The Lab
  5. 05. Tags

frequency decoder

Unobtrusive 'NumericUpDown' control

Posted Saturday September 10, 2005

frequency decoder

An unobtrusive 'NumericUpDown' control that gives the user a way to select a number that falls between a minimum and a maximum value

A numericUpDown control contains a single numeric value that can be incremented or decremented by clicking the up or down buttons of the control.

The control is commonly found within all the major application frameworks but is missing from the standard set of HTML web form controls. This is an attempt at replicating the functionality with unobtrusive JavaScript.

All developer defined numeric values, including the increment, can be of type float or integer and negative minimum values are accepted. The controls can be individually skinned with css and are accessible using the keyboard.

Tested in Opera 8, Internet Explorer 5.5+, Firefox and Mozilla. Opera seems to add unexplained ‘ghost’ padding to the styled buttons which makes them overlap slightly – such is life.

View the numericUpDown control demo.

Tags: numericupdown, unobtrusive

Previous Comments ~

Natalie · http://www.jimdo.com/
#1 · Monday February 26, 2007

Hi,

I’ve tested this script, but I’m having problems with multiple up down controlers on one page. Do you have any ideas how to fix this?

Kind regards, Natalie

Frequency Decoder
#2 · Wednesday February 28, 2007

@ Natalie: Hi Natalie, what sort of problems are you experiencing? It’s been so long since I wrote this script that I actually forgot that it existed…

Comments are currently closed for this article but feel free to email me with your input - I’d love to hear it.

Popular Frequencies

  • Unobtrusive Table Sort Script (revi…
    Saturday September 16, 2006
  • Unobtrusive Date-Picker Widget Upda…
    Monday October 02, 2006
  • Unobtrusive Table Sort Script
    Friday November 18, 2005
  • Unobtrusive Date-Picker Widgit
    Friday October 14, 2005
  • Unobtrusive Table Actions Script
    Thursday November 15, 2007

Google Ads

All articles