We've identified that full browser caches are the cause of a problem on our extranet. It only affects a small number of our users, but we'd like to alert them to the problem and give them some guidance on how to fix the problem for themselves.
We'd like to use a similar system to the one which GMail uses. When it detects that your brows...
this thing almost works:
function myClass(url) {
this.source = url;
this.rq = null;
this.someOtherProperty = "hello";
// open connection to the ajax server
this.start = function() {
if (window.XMLHttpRequest) {
this.rq = new XMLHttpRequest();
if (this.rq.overrideMimeType)
this.rq.overrideMimeType("text/xml"...
I rather enjoy adding practical eye-candy to the networking community I've been developing but as things start to stack up I worry about load times.
Is it truly faster to have users
load (a hopefully cached) copy of
jquery from Google's repositories?
Does using jQuery for AJAX calls
improve/reduce efficiency over basic
javascript xmlHT...
Can anyone please tell how to save an xml file from the web to the disc automatically when i give the url using vc++
...
function addRequest(req) {
try {
request = new XMLHttpRequest();
} catch (e) {
try{
request = new ActiveXObject("Msxml2.XMLHTTP");
}catch(e){
try {
request = new ActiveXObject("Microsoft.XMLHttp");
} catch (e) {
alert("XMLHttpRequest error: " + e);
}
}
}
requ...
Hi All, I am using jQuery and trying to load a variable in place of a named xml file.
My Code:
$(document).ready(function() {
// bind 'myForm' and provide a simple callback function
$('#theForm').ajaxForm(function(responseXML2) {
var myxml = responseXML2;
alert(responseXML2);
disp...
http://www.w3.org/TR/access-control/
Reading the CORS spec linked above, it seems to be the case that it's impossible to reliably distinguish between a generic "network error" and a cross-origin access denied error. From the spec:
If there is a network error Apply the network error steps.
Perform a resource sharing check. If it...
Hi. I'm newbie with JQuery.
I got this function
function verify_at_bd(){
var u = "foo";
var p = "bar";
return $.post('auth.php', { name: u, password: p, mobile: '' },
function(result){
return result;
},'json');
}
If I do a c...
I would like to be able to read XMLHttpRequest that is sent to a PHP page. I am using prototype's Ajax.Request function, and I am sending a simple XML structure.
When trying to print the POST array on the PHP page, I don't get any output.
Any help appreciated.
EDIT: Below is my code
<html>
<head>
<SCRIPT type="text/javascript" src...
I need a simple way to use XMLHttpRequest as a way for a web client to access applications in an embedded device. I'm getting confused trying to figure out how to make something thin and light that handles the XMLHttpRequests coming to the web server and can translate those to application calls.
The situation:
The web client using Aj...
I'm having a strange issue with my Javascript in Firefox 3.0.x. In Firefox 3.0.12, the page constantly reloads as soon as the list body is loaded. Neither Firefox 3.5, Safari 4 nor Chrome 5 (all on Mac) experience this issue.
EDIT: I've created an isolated example rather than pulling this from my existing code.
The issue was related t...
We are running windows IIS 6 and use it's native ability to protect files with Windows Authentication as our login method.
It works fine, except that when I try to post method XMLHttpRequest from IE i get the login dialog again, which causes the request to fail.
The weird thing is that Mozilla and Safari work well.
Is there something I...
What's the difference between Sync and Async in the method open(method,url,async) in AJAX.
...
Hey,
what's the utility of the method XMLHttpRequest.responseXML.
...
Hello Colleagues,
If XMLHttpRequest is used with asynchronous mode, then are the onreadystatechange callbacks for 0,1,2 states called in UI thread only or in the background thread?
And is it possible that this behaviour could be different in different browsers?
Best Regards,
Keshav
...
Hi. I'm sending data to a web service through the MSXML2.XMLHTTP40 object. It's works fine in the development enviroment, but IIS is unable to send the data (long wait and then IIS close the connection). I must configure some in IIS in order to enable XMLHttpRequest ?
...
I am evaluating if there is a performance variation between calls made using GWT-RPC and HTTP Call.
My appln services are hosted as Java servlets and I am currently using HTTPProxy connections to fetch data from them. I am looking to convert them to GWT-RPC calls if that brings in performance improvement.
I would like to know about pro...
I want to check if a page returns the status code 401. Is this possible?
Here is my try, but it only returns 0.
$.ajax({
url: "http://my-ip/test/test.php",
data: {},
complete: function(xhr, statusText){
alert(xhr.status);
}
});
...
Hello All,
I am developing my first Dashboard Widget and trying to call a webservice. But I keep on getting XMLHTTPRequest status 0.
Following is the code
var soapHeader = '<?xml version=\"1.0\" encoding=\"utf-8\"?>\n'
+'<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"...
Hi, I have this script which loads external content:
<script type="text/javascript">
var http_request = false;
function makePOSTRequest(url, parameters) {
http_request = false;
if (window.XMLHttpRequest) {
http_request = new XMLHttpRequest();
if (http_request.overrideMimeType) {
http_request.overrideM...