Solved

Javascript + OnSubmit + IE7

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
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.

737 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