•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 422,918 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,319 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 1021 | Replies: 6
![]() |
I have done this in IE but unable to in firefox.
So can someone generate a simple piece of code using javascript that will allow me to PHYSICALLY ONLY enter Numbers\Letters\Etc. Not a message popping up once the form is submitted stating that I have numbers where letters should be etc. Just so that I am physically unable to enter text or numbers into the text field.
Thanks, Regards X
So can someone generate a simple piece of code using javascript that will allow me to PHYSICALLY ONLY enter Numbers\Letters\Etc. Not a message popping up once the form is submitted stating that I have numbers where letters should be etc. Just so that I am physically unable to enter text or numbers into the text field.
Thanks, Regards X
I have several fields that I want only TEXT, only NUMBERS and only SPECIAL CHARACTERS (specific ones).
Javascript I want is that it wont let you PHYSICALLY input the wrong chracters.
Eg. Letters only then no numbers, etc.
I was able to do this in IE but unable to in FF.
I would like a solution for FF.
Understand what I mean now? Thanks
Javascript I want is that it wont let you PHYSICALLY input the wrong chracters.
Eg. Letters only then no numbers, etc.
I was able to do this in IE but unable to in FF.
I would like a solution for FF.
Understand what I mean now? Thanks
•
•
Join Date: Jan 2008
Location: London, England
Posts: 57
Reputation:
Rep Power: 1
Solved Threads: 6
Ya I know the problem I had in IE.
Well you got any other ideas than not to use javascript?
Or any ideas how to disable crtl+v?
(Dont need to disable right click to paste code into a cell, I think)
I asked this before and I got no answers a while back
Main question how to validate text field in FF!!
Well you got any other ideas than not to use javascript?
Or any ideas how to disable crtl+v?
(Dont need to disable right click to paste code into a cell, I think)
I asked this before and I got no answers a while back

Main question how to validate text field in FF!!
•
•
Join Date: May 2008
Posts: 47
Reputation:
Rep Power: 1
Solved Threads: 1
Ya I've an idea. Do 1 think. In the INPUT tag use READONLY.
It will work, actually it works in my case.
If urproblem is solved, Please mark it solved
It will work, actually it works in my case.
If urproblem is solved, Please mark it solved
Rupam Datta
ardeezstyle@gmail.com
ardeezstyle@gmail.com
![]() |
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
beta bon browser browsers browsing development echo email encryption eu europe firefox gecko html internet internet explorer internet explorer 7 javascript leak linux memory microsoft mozilla networking news open source open-source opera patch phishing scams security social software super testing users web webmail
- Previous Thread: Using JS To Do A "Vote Only Once" Option
- Next Thread: Javascript with Ajax question


Linear Mode