Solved

Javascript + OnSubmit + IE7

Posted on 2008-09-29
2
823 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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
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)
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.

770 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