Closed Bug 250353 Opened 20 years ago Closed 20 years ago

No submit event fired when try to use <a onclick='submit();'>Submit here</a>

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 247745

People

(Reporter: frank.mau, Assigned: bugzilla)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1

When I try to use <a onClick='submit();'>Submit here</a> in a form Firebird
0.9.1/2004-07-08 does nothing. Works with Mozilla Mozilla/5.0 (Windows; U;
Windows NT 5.1; en-US; rv:1.4) Gecko/20030624

Seems to be not the java-script itself, an onclick="alert('Hello')" works fine!

Test HTML-Page:
<html>
<body>
<form method='post'
action='http://so-web1.mycom.com/Bla/servlet/intray.InTrayTable'>
  <a onClick="submit();">Try to submit here</a>
  <input type=submit value="This works">
</form>
</body>
</html>



Reproducible: Always
Steps to Reproduce:
1. Use html code to create the test page
2. browse it
3. click on 'Try to submit here' -> nothing happens



Expected Results:  
Submit and open page with the form values

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