Solved

OnLoad form submit not working...

Posted on 2008-10-08
3
1,252 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Questions about this React unit test 4 43
Adding a Li to a UL after a specified Li contents 2 42
Form with Modals 16 42
Redirect Website for Mobile Devises 7 27
This article shows how to create and access 2-dimensional arrays in JavaScript.  It includes a tutorial in case you are just trying to "get your head wrapped around" the concept and we'll also look at some useful tips for more advanced programmers. …
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
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…

910 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now