Solved

Javascript + OnSubmit + IE7

Posted on 2008-09-29
2
819 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
Comment Utility
Please show a complete form and the complete script.
Thanks
0
 

Accepted Solution

by:
gingersnapped earned 0 total points
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
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 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…
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

744 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

13 Experts available now in Live!

Get 1:1 Help Now