xmlhttprequest

(NS_ERROR_DOCUMENT_NOT_CACHED) through firefox same code works for safari

I am getting (NS_ERROR_DOCUMENT_NOT_CACHED) error when I try to access the Javascript code through firefox.I get this error in the contents tab of HTTPFOX. The code is as follow: <html><head></head> <body> <button type="button" onClick="handleButtonClick();">undo</button> <button type="button">redo</button> <select><option value="V1"...

Problems with xmlhttp

I have the following code to grab details from a webserver <%@ LANGUAGE=VBScript%> <% vCustomerUserName = "name" vCustomerPassword = "password" vEventID = 123456 vEmail = "[email protected]" vPassword = "1122334455" Response.Buffer=False Dim MyConnection Dim TheURL ''# Specifying the URL dataURL = "http://www.regonline.com/authorization...

How to detect if JavaScript file Is cached?

Background: I've been using LABjs to load JS files asynchronously and in parallel, and I want to build something that takes it a step further. Part of this will involve detecting when a JS file is loaded in cache or not. So my question is: How can I determine whether a JS file is in cache or not and in addition do so in a way that would...

Form loses ability to send POST requests after 2 ajax updates

I have an included object's form: <form method="post" class="object_form" id="event-core-form" action="{% url save_event_core_data event.id %}" enctype="multipart/form-data"> {{ form.as_p }} <p> <input class="object-submit" id="object-data-save" type="submit" value="Save data"> </p> </form> After hitting 'submit' b...

Problem parsing xml with jquery

I'm trying to parse xml from SharePoint service (lists) using jquery. I have XMLHttpRequest object xData which contains responseXML property, which is IXMLDOMDocument2. xData.responseText has following value: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http...

Force ajax call to clear cache

I have a cms in which I can change positions of objects. After each position change ajax call updates the whole list of objects. But unfortunately some data is stored in cache and no changes are visible. Is there a way to force clearing cache with javascript/request/other ? I've tried 'cache: false' in $.ajax but it's not working. Here'...

Allowing Cross domain ajax calls from firefox

I want to change the settings of firefox so as to allow it to make cross domain ajax calls. Since due to the security feature of the firefox it doen't allow ajax calls to be made. I know if it is in same domain it will allow. I have a code given bellow which in safari works fine but firefox doesn't display the results when it calls csce ...

[Javascript]Read RSS feed

Possible Duplicate: Retrieve a cross domain RSS(xml) through Javascript Hey, I'm creating a website and I need to display a couple RSS feeds. I noticed XMLHttpRequest() doesn't support cross-domain requests. How can I do it with Javascript or jQuery? Thanks! ...

Return link for another (same) XMLHttpRequest

I have one link that makes an ajax request and it prints by XHR request another link same at this one before cliked so it's like a loop: starting XHR from <a href="javascript:void(0)" class="doXHR">do XHR</a> than into Ajax success function i repeat into my html this link: <a href="javascript:void(0)" class="doXHR">do XHR</a> but...