Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within HTML Pages with CSS and JavaScript
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Liutauras Vilda
Ron McLeod
Sheriffs:
Jeanne Boyarsky
Devaka Cooray
Paul Clapham
Saloon Keepers:
Scott Selikoff
Tim Holloway
Piet Souris
Mikalai Zaikin
Frits Walraven
Bartenders:
Stephan van Hulst
Carey Brown
Forum:
HTML Pages with CSS and JavaScript
Is there any issues for Ajax in IE7 ?
Ganesan Ramakrishnan
Ranch Hand
Posts: 91
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi all,
I have the issue while i call the ajax in my code using browser IE7. But the same code working IE6.
can anybody help me out on this.
here is the code,
if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } alert("test"); xmlhttp.open("GET","C:/Documents and Settings/admin/My Documents/NetBeansProjects/ProjectTest/web/Test.html",true); xmlhttp.setRequestHeader("Content-type","application/x-www-form-urlencoded");
Thanks in advance.
Regards
Ganesh
error.GIF
David Newton
Author
Posts: 12617
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Known issue requesting local file via Ajax (which seems a weird thing to do anyway).
http://code.google.com/p/xmlhttprequest/issues/detail?id=23
Ganesan Ramakrishnan
Ranch Hand
Posts: 91
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
I have enabled native XMLHTTP support in my browser.
now my
java
script problem resolved.
But ajax call not working.
Can anybody help me on this.
Regards
Ganesh
Eric Pascarello
author
Posts: 15385
6
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
You should
not be accessing files off the file protocol when the page is on the http protocol. It is a security restriction.
Eric
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Struts Ajax call
IE 6 not receiving AJAX response
New to Ajax
Struts2: Accessing a request Parameter from Action
iterate doubt
More...