How to remove plus and minus characters from input type number

Here is a solution on how to remove the plus and minus characters from the input type number and retain the existing value of the input field excluding the plus and minus symbols, i have used jquery for this hack this can also be achieved with plain javascript.

Here is the code snippet which removes the plus and minus signs from number field



Comments

Check out

CSS Sprites | What are They?

Adding a button in HTML | styling a button

Remove Scrollbars from syntaxhighlighter

HTML5 Semantic Tags | What do they mean

How CSS3 Works

HTML5 | LocalStorage

Login form | Using CSS3

HTML Tags | Adding Scripts in HTML