answersLogoWhite

0

In all modern browsers, you can create a new XMLHttpRequest object using the following code:

var request = new XMLHttpRequest()

However, if you need to also support internet Explorer 6 and older, you need to extend your code like this:

if (window.XMLHttpRequest) {

//Firefox, Opera, IE7, and other browsers will use the native object

var request = new XMLHttpRequest();

} else {

//IE 5 and 6 will use the ActiveX control

var request = new ActiveXObject("Microsoft.XMLHTTP");

}

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

How do you get back internet explorer 7 after downloading internet explorer 8 beta running vista?

Hi! Under Vista: Start menu - Run type: rstrui.exe Here You can restore your system to a point (for example you had before the installation of IE8). good luck Solution: 1: Create restore point. 2: Uninstall internet explorer 8 beta version from add/ remove program. 3: Restart the computer. and then automatically you will get 7.0 internet explorer.


How do you clear cookies cache and temporary Internet files using Internet explorer?

Open internet explorer and click tools from the menu bar, select internet options. Under the general tab click the delete button.


Where can I download the newest Internet explorer?

All you have to do is go to the windows homepage and click on the products tab. Under that tab will be another tab for internet explorer and a window explaining how to download the latest version of the software that is offered.


How can you change Internet explorer 9 to Internet explorer 8?

Go to Internet Explorer download page (link is under this answer) and click Get It Now under the "Internet Explorer 8" title, then open the downloaded file and wait for Internet Explorer 8 to install.


How can one change the home page in Internet Explorer?

Typically, one needs to select Internet Options from the Tools menu in Internet Explorer. One should then find Home Page under the General tab, replace it with the desired Web address, and then click Apply. One can verify that the home page was successfully changed by restarting Internet Explorer.


Why does Internet explorer prompt for username and password from a sharepoint site but Windows explorer not prompt?

Internet Explorer uses integrated windows authentication which obtains your credentials from the computer you are logged into. If for some reason it cannot obtain these credentials, the browser's session is anonymous so it will prompt you. Or if the account you are using does not have access to the resource. Windows Explorer runs under under the credentials of the account you are logged into.


What are the 3 things you can do under the file menu button in Internet explorer?

Save the webpage, Zoom and Print.


In Internet Explorer under the tools I do not have a folders option?

I believe you might have the wrong program in mind - Internet Explorer does not have a Folders option. However - * Windows* Explorer does. Windows Explorer is the program that opens when you want to browse files on your own computer (i.e. My Computer, My Documents, etc.). If you go to My Computer (which opens Windows Explorer), you should be able to go to Tools -> Folder Options.


What does Internet explorer as default browser do?

If you set Internet Explorer as your default web browser then when you click a url the website gets opened in IE by default. If you want to change Internet Explorer as your default web browser then follow below given steps: Open IE Go to Tools >> Internet Options Under Programs Tabbed Section Menu Check or uncheck the last check box option avilable mentioning about Internet Explorer to set as default web browser. Click Apply & OK


How do I make the Internet Explorer Immersive Browser my default?

If Internet Explorer is set as the default browser, it will open in the new immersive browser, and the tile will have a larger "e" and the words "Internet Explorer" will be under it. To set Internet Explorer as the default browser: 1. From the Start screen, type Default Programs, and select the Apps filter. 2. Tap or click Default Programs in the search results. 3. Tap or click Set your Default Programs. 4. Choose Internet Explorer from the list. 5. Select Set this program as default, and then tap or click OK. 6. Close Set Default Programs


Is there any way to reset your Internet Explorer settings to default without reformatting?

Sure go to VIEW and select your options also go to TOOLS then INTERNET OPTIONS and select whatever you want. If you get desperate you can reload IE - there is NO reason to reformat the disk.Solution:1. Open Internet Explorer 7.2. Click Tools, and then click Internet Options.3. Click the Advanced tab.4. Under Reset Internet Explorer Settings, click Reset.


How do I clear the internet history?

Congratulations on your anniversary! Clearing your internet history will vary somewhat depending on your operating system and browser, but in Internet Explorer and Firefox can be found under Tools (Delete Browsing History) and is under settings (the wrench on the top right side) in Chrome.