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

  • SEARCH
  • Home
  • 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 4336220
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T10:46:39+00:00 2026-05-21T10:46:39+00:00

in IE8 i get the following error: Webpage error details User Agent: Mozilla/4.0 (compatible;

  • 0

in IE8 i get the following error:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; OfficeLiveConnector.1.4; OfficeLivePatch.1.3; Tablet PC 2.0; .NET4.0C)
Timestamp: Mon, 11 Apr 2011 12:36:39 UTC


Message: Object doesn't support this property or method
Line: 102
Char: 4
Code: 0
URI: http://www.geoffmeierhans.com/js/jquery/appone.js

The line it is referring to has the following code on it:

var distance = parseFloat($('#distance').val());

Anyone know why this might be happening?

Thanks

  • 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-21T10:46:39+00:00Added an answer on May 21, 2026 at 10:46 am

    can you try this?

    $('#submit').click(function() {
      var mpg= $('#mpg').val();
      if(mpg=='') {
        alert("The average cannot be empty");
        $('#mpg').focus();
        return false; // cancel submission
      } 
    
      if (isNaN(mpg)) {
        alert("The value you entered is not a valid number");    
        $('#mpg').focus();
        return false; // cancel submission
      } 
      mpg = parseFloat(mpg);
      if (mpg==0) {
        alert("MPG cannot be 0"); // or you will divide by 0 later    
        $('#mpg').focus();
        return false; // cancel submission
      } 
      var distance = $('#distance').val();
      distance = isNaN(distance)? 0: parseFloat(distance);
      var costlitre = $('#costlitre').val()
      costlitre = isNaN(costlitre)?0: parseFloat(costlitre);
    
      // Work out litres needed
      if(symbol=='$') {
        gallons = distance / mpg;
        cost = gallons * costlitre
        cost = cost.toFixed(2);
      } else {
        gallons = distance / mpg;
        litresneeded = gallons * litres;
        cost = litresneeded * costlitre;
        cost = cost.toFixed(2);
      }
      $('#total').html(symbol+cost);
      $('#four').fadeOut("slow", function() {
        Cufon.replace('h1, p, .tip, #units, #price, #total', { color: '-linear-gradient(#fff, #fff)'});
        $('#five').fadeIn("slow");
      });
      return false; // cancel submission - change to true to submit
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

On IE9 and IE8 with debug activated I get the following error message: SCRIPT438,
I get the following error after moving aspx page to some folder. Error: Unhandled
I have the following code snippet.. I get the error Expected identifier, string or
OK guys this is intreting, I'm testing this page http://static.nemesisdesign.net/demos/ie8-strange/test.html on IE8 / windows
The title is the error I get from the following code: $(this).parent().slideUp(200, function ()
What combination of html and IE8 settings get IE8 to open links in a
I tried some add to favorties JavaScript scripts.. With IE8, I get an access
Well since i installed IE 8 i get this error so i cant debug
When IE8 is released, will the following code work to add a conditional stylesheet?
For IE8 compatibility, we have added the X-UA-Compatible: IE=EmulateIE7 header to the IIS response

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.