Closed Bug 269617 Opened 20 years ago Closed 20 years ago

Error in javascript. Some keys are disabled (like ctrl, shift or alt).

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: gnu, Assigned: bugzilla)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

In the page
http://www.concursosfcc.com.br:8080/concursos/jsp/cadastroWeb/NovoCadastro.jsp
it's impossible to correctly fill the forms with some keys disabled.
Ex: the form dont accept @ where you supposed to put your e-mail adress.
The same page works perfectly on Linux with the same version of the browser.

Reproducible: Always
Steps to Reproduce:
1. Try to fill any information with major caps on the forms
2. Try to put @ on the e-mail adress camp
3. Try backspace in any camp of the form

Actual Results:  
It shows a JavaScrip Application warning "caracter inválido".

Expected Results:  
The keys should be disabled only in some particular camps of the form.

I'm using a AMD Athlon 650, 256 MB RAM, Windows XP Professional with SP2.
Hey.  The ability for javascript to trap or capture characters is broken 
within Mozilla.

http://www.howtocreate.co.uk/tutorials/index.php?tut=0&part=0 is a simple 
script... part way down the page you can turn this on ... [Click here to 
start / stop keyup detection]

It works as expected in Mozilla/IE... except for the backspace button.  
Mozilla traps the characters after Mozilla has decided what to do first.  This 
makes creating a online typing test difficult, if I want to trap the text in 
the window object using DOM and not in a textarea.

http://www.asciitable.com/
http://www.jimprice.com/jim-asc.htm
this is a javascript coding issue, not firefox.  see
http://groups-beta.google.com/group/comp.lang.javascript/browse_thread/thread/72c255c23068745c/ed1955ba54dfa2db?q=java+shift+key+mozilla+OR+firefox&rnum=3&hl=en#ed1955ba54dfa2db

--> INVALID
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.