By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,253 Members | 1,693 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,253 IT Pros & Developers. It's quick & easy.

to solve the problem in text box only take integer value.

P: 1
sir my problem is how we can insert only numeric value in text box in javascript.
Nov 18 '11 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 5K+
P: 8,639
use <input type="number"> where supported and when you use the value for some calculation, check beforehand if it is a number.
Nov 18 '11 #2

Post your reply

Sign in to post your reply or Sign up for a free account.