Solved

Javascript + OnSubmit + IE7

Posted on 2008-09-29
2
826 Views
Last Modified: 2013-12-08
I saw a couple solutions that seem to anwser this exact question, yet none of the solutions seem to be working.

So I'm using this as my onSubmit inside the <form> tag at the top

onSubmit="return validateForm();"

I'm also using this as my submit button

<input TYPE="image" class="submit-button" src="/images/signup.gif" NAME="update_settings.x">

The validation javascript I'm using works fine in FF2 and has worked in IE previously, so I'm not too worried about that. I just can't get IE7 to even attempt to execute the javascript. Is there any reason validateForm function wouldn't get called here?
0
Comment
Question by:gingersnapped
2 Comments
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 22602667
Please show a complete form and the complete script.
Thanks
0
 

Accepted Solution

by:
gingersnapped earned 0 total points
ID: 22618354
The problem, ironically, was that I was using this standalone version of IE7 for testing (since I already have IE8), and it apparently doesn't behave quite the same as the regular IE7. I've tested on other IE7 machines, and it works just fine.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
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)
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

821 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