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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T09:08:50+00:00 2026-05-18T09:08:50+00:00

I have been having a look to some post here related to the post

  • 0

I have been having a look to some post here related to the post Im writing now but I can not solve it.
The issue is that I have need some data from a php located in my server and make a call in the next manner:

function login(tipo) {

var xml = null;
try{ 
// Firefox, Opera 8.0+, Safari 
    xml=new XMLHttpRequest(); 
}catch (e){ 
    // Internet Explorer 
    try{ 
        xml=new ActiveXObject("Msxml2.XMLHTTP"); 
     }catch (e){ 
        try{ 
            xml=new ActiveXObject("Microsoft.XMLHTTP"); 
        }catch (e){ 
            alert("Your browser does not support AJAX!"); 
            return false; 
        } 
    } 
}

 xml.open("POST", "https://www.domoindal.com/mainSite/es/checklogin.php", false);
 xml.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
 xml.send("user="+document.loginForm.user.value+"&pass="+document.loginForm.pass.value);

 if(xml.status == 404) alert("Url no valida");
 var respuesta = xml.responseText.split("#", 3);

….. and this code works fine in Safari, Chrome and Firefox, the only exception is IE8. It arises an error in the responseText line (the last one).

Another similar question related to IE8 is that I want to change the image in a div and I use the next code:

function boton_1() {
$("#contenedor_tarjetas").html( '<img src="../images/VISA.png" width="250" height="40" />' );
$("#cardID").value = 1;
return true;

}

…. it gives me an error in the second line. What happens with this browser?? It seems like if it needs a separated program.
I checked all kind of stuff and advices from other post with no success.

Is there anything missing? Whats wrong?

If someone could help me I would appreciate it a lot.

Thanks in advance.

  • 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-18T09:08:51+00:00Added an answer on May 18, 2026 at 9:08 am

    At least I found the solution to the query I did. The fact is that there is a little problem with IE8 and the Ajax. When you make a query to a php in the server and you wait for an answer, the data is returned in a charset different than IE8 usually works. Its the only browser that has this problem.

    So i solved it including in the PHP file a header in the next way:

    header('Content-type: text/plain; Charset=utf-8');
    

    So, if someone else has this problem, try with this.

    I hope I could solved to anyone this problem.

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

Sidebar

Related Questions

I have been having some problems with this for a few days now... I
I have been having some issues with LINQ-To-SQL around memory usage. I'm using it
I have been having some problems trying to get my PHP running. When I
I have been trying to tackle this problem , but I am having difficulty
Have been studying the file system related classes of Adobe AIR 1.5, but so
I have been reading other questions and answers around this but I am not
Having a look at BDD frameworks and I can't help but wonder which one
This is a really weird problem that I have been having. When I download
I have to compute at libraries quite often these days, and have been having
I have been creating Unit tests like crazy and find that I'm often having

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.