Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within HTML Pages with CSS and JavaScript
Search Coderanch
Advance search
Google search
Register / Login
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Jeanne Boyarsky
Ron McLeod
Sheriffs:
Paul Clapham
Liutauras Vilda
Devaka Cooray
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
HTML Pages with CSS and JavaScript
validation for textbox
Li Jenny
Ranch Hand
Posts: 57
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
how can i do a validation for textbox which only contain number [0-9] and/or only 2 special character "," & "-"
that mean the textbox contain:
1-10,12,23
if contain other than these character,then prompt msg.
how to do this?
Eric Pascarello
author
Posts: 15385
6
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Do not double post:
https://coderanch.com/t/493194/HTML-JavaScript/validation-check
Eric
Do not meddle in the affairs of dragons - for you are crunchy and good with ketchup. Crunchy tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Regular Expression
switch case
question on changing focus
check for field values
validation check phone field
More...