Solved

OnLoad form submit not working...

Posted on 2008-10-08
3
1,254 Views
Last Modified: 2012-05-05
I can't get the below to work on Safari on a Mac...

<html>
<head></head>

<body onLoad="javascript:document.signup.submit();">

<form name="signup" action="http://www.espn.com/signup.asp" method="post">
 <input type="submit" name="submit" value="Go To FatBurn">
<form stuff goes here>

</form>
</body>
</html>
0
Comment
Question by:interclubs
  • 3
3 Comments
 
LVL 82

Accepted Solution

by:
hielo earned 500 total points
ID: 22670790
change:
<input name="submit"... 
to:
<input name="Submit"... 
Uppercase "S"

Open in new window

0
 
LVL 82

Expert Comment

by:hielo
ID: 22670794
basically, do NOT use name="submit" nor id="submit" for ANY element (lower case "submit" is reserved).
0
 
LVL 82

Expert Comment

by:hielo
ID: 22671480
glad to help.
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today I would like to talk about localizing (Internationalization) JavaScript applications. Introduction When creating an application that is going to be used by many people around the globe, it is important to remember that not everyone speak…
Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question