473,881 Members | 1,708 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Ajax issue with Internet Explorer (no error message either)

65 New Member
I have created a little chat application that seems to work 100% on Mozilla Firefox, Google Chrome, and Safari, (tried it in Opera, and it seems to work, but the cookies are screwing everything up; this is probably because my install is not being run under an administrator account), but not Internet Explorer.

Chat • Login

Everything works fine, up until you get to the chat room itself. Internet Explorer just sits, and does nothing. Doesn't even have an error. It seems to be able to send data (but not fully; send a message using Internet Explorer, and then check the active users list on another browser), and is completely non responsive to data received.

It's made with JavaScript + PHP.
Nov 27 '08
15 2421
65 New Member
According to that guide (which seems to explain everything in the exact way I was pretty sure it was handled) it is working as expected in Firefox, Opera, Google Chrome, and Safari, but not in Internet Explorer. It only mentions one thing about Internet Explorer with a specific function; attachEvent sends it as a reference, causing this to be a reference to window rather than the element that it is a child of.
Nov 30 '08 #11
65 New Member
Well, I fixed the XMLHttpRequest issue; this is not inherited properly on Internet Explorer it seems, period. So I'm never mucking around with that until the 8th version of Internet Explorer comes out; we'll see what it can do right for once.

Anyways with that out of the way the W3C DOM method is causing problems in Internet Explorer (I'm actually getting errors, thankfully). However, I don't know why, especially with the check in place.

It's giving me an error on line 140; the script automatically checks if it is set or not; if it is, then it goes to line 140, and grabs the data. But Internet Explorer is claiming it's set when it's not.
Nov 30 '08 #12
65 New Member
Okay, I guess I repaired that issue; used element.length > (0) rather than typeof (element [0]) !== 'undefined'.

Now it's giving me a Type Mismatch on the removeChild statement I've got on line 222 or 223.
Nov 30 '08 #13
65 New Member
Text is being displayed! Major progress!
Nov 30 '08 #14
65 New Member
Fully functioning now. :)

Thank you for your help guys.
Nov 30 '08 #15
16,027 Recognized Expert Moderator MVP
Great work. I learnt one or two things from this thread because I don't usually code XMLHttp in the way that you did. Thanks for all the progress reports. It helps when users post at each step. Finally, I'm pleased for you that you got it working :)
Dec 1 '08 #16

Sign in to post your reply or Sign up for a free account.

Similar topics

by: Girish Pal Singh | last post by:
Internet Explorer is unable to access the form and its elements. Even server side generated scripts give error. Same code runs fine on other browsers. Whats the problem? I have IE 6.0 on Windows XP Professional.
by: Florin M | last post by:
I am running a custom application developed with ASP.NET 1.1, C# and Visual Studio 2003. I recently installed SP2 for XP Professional. When I close the Internet Explorer window where the app runs, Internet Explorer crashes and I get the generic error message window with DEBUG, SEND ERROR REPORT & DON'T SEND buttons. I checked the event log and the error item I found has the following message:
by: Jason | last post by:
I have a web page that contains textareas. These are dynamically added via asp when the page loads based on database records. The user also has the ability to add more text areas via innerhtml. If the user clicks the add text area button too fast or too many times.. they will get the following error: Internet Explorer Has Encountered a Problem and Needs to Close. After reading msdns page about this error I doubt that there is a fix...
by: CathieC | last post by:
I have a websote developed using visual studio 2005 beta , .net version 2 i deploy my application to a server and it is run from client computers. One of the users gets the error "Internet Explorer cannot open the internet site "XXXXX" Operation aborted" this happens when they click on a menu item to open a page. they do not get
by: bazubwabo | last post by:
hi everybody, I currently use oracle 9i forms developer for to build some forms ,and however by running the form ,i've gotten an internet explorer error message:"Internet explorer has encountered a problem and needs to close .We are sorry for the inconvenience."). Therefore there is someone who should help me to solve the problem,or there is someone who has some ideas of how to set up it? N.B:I used nowadays internet explorer 6 ...
by: Kosmos | last post by:
Hey ya'll...I can't seem to figure out why I'm getting this error message, but it all started when I added the new line of code with the recSet5.AddNew --- when I ran the first line, the logic worked and the fields were populated properly, when I added all the rest, it wouldn't run and even when I tried to go back, it still won't run now...I am getting the following error message: "Either BOF or EOF is True, or the current record has been...
by: JanaAnandh | last post by:
In my application, When trying to Logout getting internet explorer error message. This error is observed in Win 2000 but not in Win XP machines. Please help me out to resolve the issue.
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.