Solved

OnLoad form submit not working...

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

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…
This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
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…

758 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