Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Ajax Ajax in IE 7
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


K.Senthuran
Ajax in IE 7
1 Answer(s)      6 years ago
Posted in : Ajax



Advertisement
View Answers

November 15, 2008 at 1:43 AM


hai friend

give cross browser compatability code for IE.that is

//for other than IE browser
if(window.XMLHttpRequest)
{
http_request=new XMLHttpRequest();
if(http_request.overrideMimeType)
{
http_request.overrideMimeType("text/html");
}
}
else if(window.ActiveObject)
{
try{
http_request=new ActionObject("Msxml1.XMLHTTP");//this is for old IE browsers.
}
catch(e)
{
try{
http_request=new ActionObject("Microsoft.XMLHTTP");//this is for latest versions of IE browsers.
}
catch(e)
{
}
}
}

This is the code u have to write in the AJAX based examples for cross Browser compatability.

thanks from jagadhish yadav.Murari


Related Tutorials/Questions & Answers:
Ajax in IE 7 - Ajax
Ajax in IE 7  My AJAX function does not update on IE 7. What can I do... compatability code for IE.that is //for other than IE browser if(window.XMLHttpRequest...) { try{ http_request=new ActionObject("Msxml1.XMLHTTP");//this is for old IE
s:a href tag problem with ie 6 and ie 7
s:a href tag problem with ie 6 and ie 7   this code is working fine in mozilla but in ie6 or ie 7 its not working
Advertisements
Text box size varying in IE 7 but ok in firefox - Java Beginners
Text box size varying in IE 7 but ok in firefox  I have problem with the size of text field which varies in IE 7 only but its fixed in Firefox( I... longer only in IE).Expecting a fast solution,Im sharing the piece of code
Create toolbars for IE
Create toolbars for IE  how to create a ie toolbar in java script
Ajax
Ajax  How to learn AJAX
ajax
ajax  please describe the ajax
Launch of Toolbar in IE - WebSevices
Launch of Toolbar in IE  "I have created a toolbar with Java Swing I would like to know the steps about how to launch the toolbar in IE
Ajax
Ajax  Hi, What is Ajax? What is the use of Ajax? Thanks   Hi, Ajax is set of technologies used to develop dynamic web applications. In Ajax following technologies is used: a) JavaScript b) XML c) HTTP d) CSS Learn
Drop Down reload in IE
loads to 1 which is first value..This is the problem im facing in IE but it works well in Firefox..How to overcome this IE issue? thx in advance
PHP header IE - PHP
; but this is not working for IE. any Idea
ajax
ajax  How can we fetch data in ajax through servlet?   "mainpage.jsp" <html> <head> <title>Ajax Example</title>... XMLHttpRequest(); } else if (window.ActiveXObject) { // IE var xmlHttp = new
ajax
ajax  How can we fetch data in ajax through servlet?   "mainpage.jsp" <html> <head> <title>Ajax Example</title>... XMLHttpRequest(); } else if (window.ActiveXObject) { // IE var xmlHttp = new
ajax
ajax  How can we fetch data in ajax through servlet?   "mainpage.jsp" <html> <head> <title>Ajax Example</title>... XMLHttpRequest(); } else if (window.ActiveXObject) { // IE var xmlHttp = new
ajax
ajax  How can we fetch data in ajax through servlet?   "mainpage.jsp" <html> <head> <title>Ajax Example</title>... XMLHttpRequest(); } else if (window.ActiveXObject) { // IE var xmlHttp = new
Ajax
Ajax  how to impliment ajax in registration table using jsp-servlet
Ajax
Ajax  send the example to fetch the data from the server by using ajax in java. for ex:-if there are states which is used to display in frontend we use ajax. send it to me
Ajax
Ajax  how to include ajax in jsp page?   Hi, Please read Ajax First Example - Print Date and Time example. Instead of using PHP you can write your code in JSP. Thanks
ajax
ajax  how to connect ajax with mysql without using php,asp or any other scripting language. please answer soon
Ajax - Ajax
Ajax  What is Ajax ? How one can use ajax with Java
ajax
ajax  HI, In my application using ajax if i type a managername in the textbox it should display all the employees under the that manager... me reg this. thanks KK   Combobox box using Ajax in JSP   i
Ajax
in a tabular form. Same for >33kv We can use ajax where instead of a link a radio button can fetch the data and can populate a table.If ajax can be used
Windows 7 refresh DNS
Windows 7 refresh DNS  Windows 7 refresh DNS How to refresh DNS in Window 7/Windows and linux? Thanks   Hi, In windows it is very easy to refresh the DNS. go to the command prompt (dos prompt) and then issue
Ajax
options. I want to do it using ajax. My table is CREATE TABLE HT<em>
Week 7 - Assignment
Week 7 - Assignment  Write a java program that takes the input from a file of numbers of type int and outputs the sum, count, and average of the numbers on the screen as shown in the example report below. The file contains
AJAX
ajax. My table is CREATE TABLE HTNEWMETER ( ID NUMBER (10) NOT NULL, METERNO
java code 7
java code 7  Develop the program calculatePipeArea. It computes the surface area of a pipe, which is an open cylinder. The program accpets three values: the pipes inner radius, its length, and the thickness of its wall.  
javascript error in IE - JSP-Servlet
javascript error in IE  Please Help me, I have an urgent requirement i.e. JavaScript prompt box is not working in IE. It Works firefox,safari,--- etc. ********Actually my requirement is without changing setting
ajax
ajax  I am facing following problem, I am using ajax to get the data continousely without refreshing. Here i have devided a web page into 3 parts(top,left and right) using table in jsp. On the left part i am displaying some
AJAX - Ajax
AJAX  what is Ajax?WHAT IS THE USAGE OF IT?WHERE WE HAVE TO USE IT? GIVE ME EXPLANATION WITH EXAMPLE?  Hi friend, Ajax : Asynchronous JavaScript and XML or Ajax for short is new web development technique used
Data Types in Java 7
In this section we will discuss Java 7 Data Types
Java 7 Language Fundamentals
This tutorial describes basic language features of Java 7
Advertisements
 

 

 

DMCA.com