468,484 Members | 1,567 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,484 developers. It's quick & easy.

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

sir my problem is how we can insert only numeric value in text box in javascript.
Nov 18 '11 #1
1 1258
8,651 Expert Mod 8TB
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.

Similar topics

5 posts views Thread by Robert Wilson | last post: by
4 posts views Thread by Dave | last post: by
reply views Thread by d.steininger | last post: by
reply views Thread by NPC403 | last post: by
2 posts views Thread by gieforce | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.