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 5992465
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T23:32:08+00:00 2026-05-22T23:32:08+00:00

I am using jQuery and the $(document).ready event. when i load in IE8 i

  • 0

I am using jQuery and the $(document).ready event. when i load in IE8 i get an error “Object doesn’t support this property or method”. When i refresh it works fine. Here is my code:

    <script language="text/javascript">
    $(document).ready(function ()
    {
        var xmlhttp;
        xmlhttp=new XMLHttpRequest();
        xmlhttp.onreadystatechange=function()
       {
     if (xmlhttp.readyState==4 && xmlhttp.status==200)
        {
       document.getElementById("loginbox").innerHTML=xmlhttp.responseText;
       }
    }
        xmlhttp.open("POST","loginform.php",true);
       xmlhttp.setRequestHeader("Content-type","application/x-www-form-urlencoded");
       xmlhttp.send();
   });
  </script>

I have the following in my head tag:

    <script type="text/javascript" src="http://code.jquery.com/jquery-latest.js">

Any help would be appreciated i have tried $(window).load and others.

  • 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-22T23:32:08+00:00Added an answer on May 22, 2026 at 11:32 pm

    Use the jQuery library when you include it, as you are using only the $(document).ready() function.

    Try this code (it accomplishes the exact same thing as yours):

    $(document).ready(function() {
      $.post('loginform.php', $('#id_of_your_login_form').serialize(), function(response) {
        $('#loginbox').html(response);
      });
    });
    

    This line also might be problematic:

    <script language="text/javascript">
    

    You are specifying the type, not the language. Try this one instead:

    <script type="text/javascript">
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using jQuery dialog to load a view, which is used to upload files
So i am using ajax jquery .load() function to retrieve books using their ISBN
Is there a way to using a JQuery function to programmatically create an event
I have a page where I am using jquery/ajax to pull down a chunk
I am using Jquery plugin http://timeago.yarp.com/ for showing time. Issue is timeago will not
I am trying to learn making ajax calls using jQuery. But I am stuck
I am using an upload script that runs a function once the file is
I am currently making use of Simon Willson's addLoadEvent function to add functions that
I wanted to create a drop down at a certain position based on a
i want that when LightFace will be shown then a busy image should come

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.