With this code http://paulisageek.com/tmp/options.html :
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js" type="text/javascript"></script>
<script>
$.get("http://metaward.com/import/http://metaward.com/u/ptarjan", function(data) {
alert(data);
});
</script>
in Firefox 3.5 on Vista it does an OPTIONS requ...
How in JavaScript process unhandled yet part of XMLHttpRequest responseText only in onprogress/onreadystatechange handler, without using global variables for XMLHttpRequest, prevDataLength, nextreadPos and inProgress (for locking)?
The problem is the following: I want to update web page based on currently received part of data obtained ...
hi,
my problem is the following. I wrote a class AJAXEngine, which creates in the constructor a new XMLHttpRequest object. The class contains a method called responseAnalyser, which is called when the "onreadystatechange" of the XMLHttpRequest object has changed.
So now I created lets say 4 instances of AJAXEngine => 4 XMLHttpRequest ob...
I have a web page that displays comments, and users can click a 'Flag' link to report an inappropriate comment.
When they click the Flag link, I use AJAX and innerHTML to display a dropdown box underneath the comment with a reason code, e.g. Spam, Offensive, Unrelated to topic, etc., as well as a Cancel button.
If the user clicks Submi...
Hi all. I 'm having some trouble with my javascript code calling my php. Does anyone see an error in the following code? I swear I'm using code just like this on another part of the site...
var xmlHttp = createXmlHttpRequestObject();
var favSongArray = [];
function createXmlHttpRequestObject(){
var xmlHttp;
try{
xmlHttp = new ...
Greetings all,
I have an application when I am posting data on a fairly regular interval. I have one set of code which was developed for VB on the local side and classic ASP on server side, now I would like to change the servside to PHP.
The original code uses the xmlHTTP object to post xml data to an asp webpage, worked like a charm.
...
I'm developing an iPhone web app with dashcode. My app runs fine when I browse it with the iphone simulator. When I deploy it to a web-server, I never get a response from XMLHttpRequests. Here's the code I use:
function get(feedURL, handler) {
var onloadHandler = function() { handler(xmlRequest); };
var xmlRequest = new XMLH...
I have page with js that post data via XMLHttpRequest and server side script check for this header, how to send this header?
agent = WWW::Mechanize.new { |a|
a.user_agent_alias = 'Mac Safari'
a.log = Logger.new('./site.log')
}
agent.post('http://site.com/board.php',
{
'act' => '_get_page',
"gid" => 1,
'order' => 0,
...
Hi. Thanks for reading.
I'm trying to parse an xml response from YouTube but I'm completely blocked, hehe.
Well, What I've got until now is this:
<%
Option Explicit
Response.Buffer = True
Dim videoVimeo, videoYoutube
videoVimeo = "http://vimeo.com/5866977"
videoYoutube = "http://www.youtube.com/watch?v=d8nxjUlb...
I have a legacy VB6 application that needs to make asynchronous calls to a web service. The web service provides a search method allows end-users to query a central database and view the results from within the application. I'm using the MSXML2.XMLHTTP to make the requests, and have written a SearchWebService class that encapsulates the ...
I have the following code that creates a serverside object of the xmlhttp class. I am trying to connect to a site that requires basic authentication. I am able to get this to work with the code below.
What's the problem? Well I'm passing the credentials using the open call. That alone is not enough. I must also set the authorizatio...
I work on a JScript/VBScript HTML application (so we can execute at higher privileges than a normal web page) and we're providing the capability to download a file and need to provide feedback on the download progress to our users. Naturally, I figured a progress bar or progress text based on the total file size and the amount of the fi...
If there were no visits to the dotnetnuke portal for some time, depending on the host, the dotnetnuke is unloaded from server's memory. The first visitor that comes next is then forced to wait about 15+ seconds (depending on server's speed) in order to see the page. Dotnetnuke is a big framework but sometimes ends up serving low traffic ...
I'm writing an AIR application that communicates with a server via XmlHttpRequest.
The problem that I'm having is that if the server is unreachable, my asynchronous XmlHttpRequest never seems to fail. My onreadystatechange handler detects the OPENED state, but nothing else.
Is there a way to make the XmlHttpRequest time out?
Do I h...
I have a java script code snippet where i am making an XMLHTTP request to a remote server page. The below is my code
var objXMLdom = new ActiveXObject("Microsoft.XmlDOM")
var objXMLRecdom = new ActiveXObject("Microsoft.XmlDOM")
objXMLdom.async = false
var objXMLRoot = objXMLdom.createElement("root");
objXMLdom.doc...
Hello everyone,
i am implementing a chat system in asp.net, much like google chat and i use xmhttp to send and receive data, and i am using a single table to store all chat for all user.
i wanted to create global temporary tables in sql using a XMLHttpRequest so as to be abl to organise data better(instead of storing all the chat in a ...
I am new at Mojo framework and Palm webOS. I want to just retrieve data from XML files using xmlhttprequest (Ajax). I am trying to get data from following script.
this.items = [];
var that = this;
var request = new Ajax.Request("first/movies.xml", {
method: 'get',
evalJSON: 'false',
onSuccess:function...
Hi everyone,
I have a livesearch script that i need to populate my html menu with information.
i have a menu how looks something like this:
<a href="?page=page&id=">Menu item</a>
what i'm looking for is a piece of code that would do this to the link:
<a href="?page=page&id=1">Menu item</a>
i have a Javascript that pulls out value ...
Users of my website will, ideally, be sending a few hundred posts to a db server over the course of about an hour (basically its an online-experiment). The experiment is implemented in js, so I'm trying to use an XMLHttpRequest object to post the data the script collects.
The thing I'm uncertain about is how to use the POST parameter. I...
Here's my code. See the line that is commented out. When the element id (which is a span) is hardcoded, it works. When the id is created by concatenating the variables passed into stateChanged, it does not work. Am I not allowed to pass variables in to stateChanged? What's wrong?
function multiplePassportPoints(id, counter)
{
xmlhttp=Ge...