Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

OnLoad form submit not working...

Posted on 2008-10-08
3
Medium Priority
?
1,280 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 2000 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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

The task A number given should be formatted for easy reading by separating digits into triads. Format must be made inline via JavaScript, i.e., frameworks / functions are not welcome. So let’s take a number like this “12345678.91¿ and format i…
A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
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…
Suggested Courses

926 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