xmlhttprequest
close existing opened window inside XMLHttpRequest handler
Currently I\'m using Javascript with Ajax to fetch some data and present it in a new window.I\'m trying to close the window in OpenFileWindow() before a new one is opened, but while the it finds the w[详细]
2023-03-31 07:20 分类:问答javascript: How to get a XMLHttpRequest representation of the current resource
I want to be able, using javascript, to reload the currently loaded resource, but customising some header variables, before doing so.[详细]
2023-03-31 03:03 分类:问答Send Form data to server and store it in the server using Java script
I have a form page and I would like to submit the form details to my server, and store the details within the server.[详细]
2023-03-31 01:18 分类:问答Is it possible to get the Set-Cookie value from an HTTP response header in JavaScript?
I\'m using jQuery\'s ajax() method to make some asynchronous server calls and want to catch the case where a call fails because the session has timed out.[详细]
2023-03-31 01:01 分类:问答Ajax calls prevent massive requests calls
Which is the best way/plugin/method to prevent users launching t开发者_StackOverflowoo many xhr request by clicking many times/sequentially ( :|) on a xhr button?[详细]
2023-03-30 22:42 分类:问答Can't get the text from a node in XML
This is probably a simple question but using xmlhttp, how do I get the text of the token node in this XML? There has to be a better way than this:[详细]
2023-03-30 22:04 分类:问答Javascript XMLHttpRequest Invalid Argument
I\'m 开发者_运维知识库currently working on a project trying to update a page reading from an XML file on our intranet server.After doing some working I came up with the following code:[详细]
2023-03-30 18:45 分类:问答Getting Render Page Source with Javascript
I have following 2 files as below: <!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">[详细]
2023-03-30 09:50 分类:问答Return image from HTTP Post request in Javascript
I send data from a browser to a servlet using JavaScript, then the server processes the data and returns an image as a response (all using xmlhttprequest). I\'m sure everything is working fine because[详细]
2023-03-30 05:00 分类:问答XMLHTTPRequest with a time-out condition
In a XMLHTTPRequest, how to use time-out condition such that if there is no response from the server for a fixed amount of time (say 5 seconds) then it should display an error message?[详细]
2023-03-30 04:15 分类:问答