Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7067425
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:12:02+00:00 2026-05-28T05:12:02+00:00

I have an HTML5 form that uses JavaScript for the client side validation. If

  • 0

I have an HTML5 form that uses JavaScript for the client side validation. If there is an error in the form, a notification appears at the top of the form.

In Internet Explorer 6 through 8, there is a problem in that erroneous JavaScript code is appearing along with the error message. It works seamlessly in all other browsers I have tested.

I have identified the JavaScript code that appears, as a function from one of the plugins used elsewhere on the page.

I can’t for the life of me figure out why this is happening, and why it is only happening in IE. I’m hoping someone with more experience can identify the problem.

The page can be found at the following address: http://dev.abito.ca/contact/

The form is on the right hand side of the page. Just click the submit button with nothing in the form in IE 6-8 and you will see the strange code appear.

The JavaScript code that appears is as follows:

function (S, aG) { 
    var K = this.length >>> 0; 
    aG = aG || 0; 
    if (aG < 0) { 
        aG += K 
    } 
    for (; aG < K; ++aG) { 
        if (aG in this && this[aG] === S) { 
            return aG 
        } 
    } 
    return -1 
}

As I mentioned earlier, I have identified the above code as part of the Shadowbox plugin which is found in the plugins.js file, at line 2683.

Also, the JavaScript for the form validation is found in the script.js file, from line 498-676.

Thanks for any help you can provide.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T05:12:02+00:00Added an answer on May 28, 2026 at 5:12 am

    It’s not easy to test, but I think if you change line 661 of script.js to

    for (var x = 0 ; x < data.length ; x++) {
    

    it’ll solve your problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some code that uses a multi-part form and HTML5 file object to
I have a form that has placeholders for input fields. It uses html5 placeholder
Possible Duplicate: Validate email address in Javascript? I have an HTML form that uses
I have an HTML form that uses a PHP file in the form tag
I have a standard html form that uses a background image. I would like
I have a simple HTML form that uses uses ajax in part of the
Here is what I am trying to accomplish. I have a form that uses
We have a ASP.NET MVC 3 application that uses unobtrusive jQuery validation. The page
I have a form that uses PHP to calculate a total based on the
I have a web report that uses a Django form (new forms) for fields

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.