?
Solved

Javascript + OnSubmit + IE7

Posted on 2008-09-29
2
Medium Priority
?
830 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
[X]
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
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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
This article discusses how to implement server side field validation and display customized error messages to the client.
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.
Suggested Courses

777 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