It's works and the "Enter" key on "Previous" button works in Firefox too without "onKeyPress " as in IE. Thank you a fortune;-). You save me lots of time.
It was first time I posted a bug on Bytes.com and I got the answer from you so quickly. You are a Javascript super star!
Best wishes.
Hannie
User Profile
Collapse
-
When use tab to access data fields and press "Enter" on "Next" button to submit form and precess to the next form, it work fine in IE but not in Firefox.
Here are the HTML code for your test:
Page 1: test_server1.ht ml
[HTML]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type"...Leave a comment:
-
Really simple and useful progress bar.
BTW, how to detect the software image in jar or zip on completing download/upload so the progress bar disappears after loading.
Thanks.
Hannie...Leave a comment:
-
How to make onKeyPress work in Firefox to submit form on enter key
onKeyPress does not work in Firefox. If use tab to navigate each field and press "Enter" on "Next" button to submit form and process to the next form / page, IE works well even if without onKeyPress code. However, Firefox supresses onKeyPress on submit when "Enter" key is pressed.
e.which and code="13" does not work for submit button at all in Firefox nor by changing code to focus().
...
No activity results to display
Show More
Leave a comment: