Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

OnLoad form submit not working...

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
In my daily work (mainly using ASP.net), I need to write a lot of JavaScript code. One of the most repetitive tasks I do are the jQuery Ajax calls. You know: (CODE) I don't know if for you it's the same, but for me is soooo tedious to write the …
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…

860 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