i have an html form with two text boxes. one is for the product name and the other is for the price. i want the text boxes for price to allow numeric values only. is there a way of limiting user input for this text box using javascript
dinhunzvi
0
Newbie Poster
Recommended Answers
Jump to Postwe can achieve your functionality by using isNaN(value_of_your text feild) function of java script
the following URL gives better idea on your requirement and how to use the isNaN() function for your script code
All 3 Replies
radhakrishna.p
29
Posting Whiz in Training
dinhunzvi
0
Newbie Poster
radhakrishna.p
29
Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.