Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 17-07-2009
Member
 
Join Date: Feb 2009
Posts: 61
AJAX does not work in Internet Explorer

I am trying to add up some ajax code in Internet Explorer. I am trying to add javascript/ajax in Internet Explorer. The script works fine Firefox but it is giving trouble in Internet Explorer. I had some add on script in ajax which I want to enable it in Internet Explorer. Other browser like opera and firefox does not has any issue with AJAX. What are the general steps taken to avoid such problem.
Reply With Quote
  #2  
Old 17-07-2009
Tylon Foxx
 
Posts: n/a
Re: AJAX does not work in Internet Explorer

that depends on which version of IE you're using
Reply With Quote
  #3  
Old 17-07-2009
Member
 
Join Date: Jan 2008
Posts: 1,515
Re: AJAX does not work in Internet Explorer

The problem is occurring because the browser is not using ActiveXObject to do ajax. It is using the XMLHttprequest. You will have to configure to use first active x object and then the script will work in Internet Explorer. I will recommend you to download more sample codes from the internet which are working in Internet and then refer them.
Reply With Quote
  #4  
Old 17-07-2009
Member
 
Join Date: Apr 2008
Posts: 1,948
Re: AJAX does not work in Internet Explorer

I think you are trying to check for ActiveX after when you are done with native XMLHttpRequest() object. It is recommended that you should use object detection. Then set the onreadystatechange after the open req.open(HttpMethod,url,true); and req.onreadystatechange=onReadyState;. If this thing also fails then put a debug statement in the code. This debug statement will help you to see that where Internet Explorer is not performing properly.
Reply With Quote
  #5  
Old 18-07-2009
Member
 
Join Date: May 2008
Posts: 2,008
Re: AJAX does not work in Internet Explorer

To work out with this issue you will have to change the settings for Activex controls. Go to Tools > Internet options > security > internet > default settings. Do the same thing on Intranet. Then open the the maste page and edit the file in your editor. Add this
<WebPartPagesTongue TiedPWebPartManager id="m" runat="Server" />
<aspTongue TiedcriptManager runat="server" ID="ScriptManager1"></aspTongue TiedcriptManager>
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "AJAX does not work in Internet Explorer"
Thread Thread Starter Forum Replies Last Post
Internet explorer 9 64 bit won't work Techmates Technology & Internet 6 19-06-2014 12:02 PM
Quicktime does not work with Internet Explorer 64-bit WarriorP Technology & Internet 5 13-11-2010 01:03 PM
Links don't work on Internet Explorer Laavanya Technology & Internet 4 11-06-2010 10:01 AM
Internet explorer 8 does not work on windows 7 Vishant Windows Software 3 13-07-2009 08:44 AM
AJAX does not work Gap meer Software Development 4 14-01-2009 02:28 PM


All times are GMT +5.5. The time now is 11:15 PM.