How to eliminate a prefix of '0' before a number using jquery

Posted by sadmicrowave on Stack Overflow See other posts from Stack Overflow or by sadmicrowave
Published on 2010-04-21T15:35:11Z Indexed on 2010/04/21 15:43 UTC
Read the original article Hit count: 282

Filed under:
|
|
|

I need a jquery script section that checks to see if the first digit of a textbox entered number string is a '0' and eliminate it if so. For example "044055" needs to become "44055"

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about textbox