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”
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Update
I guess I should add some explanations. The above is a method to extract an integer from a string. It takes for granted that the string actually contains a number.