I have a text field in which a user enters a numerical value(+ve or -ve). I want to let him enter the character "-" at the beginning of the number and not in between. How can i achieve this using javascript?
Any JavaScript reference worth its salt will include information on its regular expression capabilities. [ April 19, 2007: Message edited by: Bear Bibeault ]