Closed Bug 318619 Opened 19 years ago Closed 19 years ago

improper javascript fuctionality

Categories

(Firefox :: Keyboard Navigation, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 318620

People

(Reporter: sreenath1977, Unassigned)

References

()

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Build Identifier: mozilla/5.0

when i enter invalid text in text field and clicking Save changes without tabbing out, a javascript alert message pops up. But before clicking OK in the pop up the form gets submitted. This doesn't happen in IE.
I am calling the javascript alert message in the onchange event of text box.

Please help this is absoultely crucial for my project..


Reproducible: Always

Steps to Reproduce:
1.write javascript function with alert in the message
2.enter invalid text in text field , click on submit(without tabbing out).
3.

Actual Results:  
when i enter invalid text in text field and clicking Save changes without tabbing out, a javascript alert message pops up. But before clicking OK in the pop up the form gets submitted. This doesn't happen in IE.
I am calling the javascript alert message in the onchange event of text box.



Expected Results:  
form gets submitted

form should not get submitted (works well in IE)

*** This bug has been marked as a duplicate of 318620 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.