When I uncomment either of the http urls below instead of the local
file, I always get a readyStatus of zero, and I never get past trace 2
alert. When I use the local file I get readyStatus 1 and get to trace
3 just fine:
alert("xhr = " + xhr);
xhr.onreadystatechange = parseHttpResponse;
alert("trace 1:" + xhr.status + ", readyState: " +
xhr.readyState);
try {
//xhr.open("GET", "http://www.eskimo.com", true);
//xhr.open("GET", "http://joehill/index.html", true);
xhr.open("GET", "file:///home/xeno/study/read000.html",
true);
} catch(e) {
alert("trace 1a:" + xhr.status + ", readyState: " +
xhr.readyState);
};
alert("trace 2:" + xhr.status + ", readyState: " +
xhr.readyState);
xhr.send(null);
alert("trace 3:" + xhr.status + ", readyState: " +
xhr.readyState);
----snip----
I think I'm supposed to be able to do this, but as I say above it
doesn't go. I wonder if there's an extra setting here I missed, or if
I need to specify a UserAgent or configure my web server daemon
somehow differently. Please I am stuck. I need feedback or
especially references. 3 1827
On 2 jul, 21:11, "xcampan...@gmail.com" <xcampan...@gmail.comwrote:
When I uncomment either of the http urls below instead of the local
file, I always get a readyStatus of zero, and I never get past trace 2
alert. When I use the local file I get readyStatus 1 and get to trace
3 just fine:
alert("xhr = " + xhr);
xhr.onreadystatechange = parseHttpResponse;
alert("trace 1:" + xhr.status + ", readyState: " +
xhr.readyState);
try {
//xhr.open("GET", "http://www.eskimo.com", true);
//xhr.open("GET", "http://joehill/index.html", true);
xhr.open("GET", "file:///home/xeno/study/read000.html",
true);
} catch(e) {
alert("trace 1a:" + xhr.status + ", readyState: " +
xhr.readyState);
};
alert("trace 2:" + xhr.status + ", readyState: " +
xhr.readyState);
xhr.send(null);
alert("trace 3:" + xhr.status + ", readyState: " +
xhr.readyState);
----snip----
I think I'm supposed to be able to do this, but as I say above it
doesn't go. I wonder if there's an extra setting here I missed, or if
I need to specify a UserAgent or configure my web server daemon
somehow differently. Please I am stuck. I need feedback or
especially references.
i think you should attach url joker param for example homepage.html
but now homepage.html?random=3432432.3243 to make it recover again the
web page...
i hope it can help you....
On Jul 2, 11:06 pm, MadMad <eduardo.sand...@gmail.comwrote:
On 2 jul, 21:11, "xcampan...@gmail.com" <xcampan...@gmail.comwrote:
I made the following additions, but my results are the same. It
appears I have no way to talk to other than my own server. Is this
always just limited to my native server? If so I don't get some of
the examples I'm seeing...??
>
When I uncomment either of the http urls below instead of the local
file, I always get a readyStatus of zero, and I never get past trace 2
alert. When I use the local file I get readyStatus 1 and get to trace
3 just fine:
alert("xhr = " + xhr);
xhr.abort();
xhr.onreadystatechange = parseHttpResponse;
alert("trace 1:" + xhr.status + ", readyState: " +
xhr.readyState);
try {
//xhr.open("GET", "http://www.eskimo.com", true);
xhr.open("GET", "http://joehill/index.html?
joker=9999999", true);
//xhr.open("GET", "file:///home/xeno/study/read000.html",
true);
} catch(e) {
alert("trace 1a:" + xhr.status + ", readyState: " +
xhr.readyState);
};
alert("trace 2:" + xhr.status + ", readyState: " +
xhr.readyState);
xhr.send(null);
alert("trace 3:" + xhr.status + ", readyState: " +
xhr.readyState);
----snip----
I think I'm supposed to be able to do this, but as I say above it
doesn't go. I wonder if there's an extra setting here I missed, or if
I need to specify a UserAgent or configure my web server daemon
somehow differently. Please I am stuck. I need feedback or
especially references.
i think you should attach url joker param for example homepage.html
but now homepage.html?random=3432432.3243 to make it recover again the
web page...
I appreciate your feedback, but I think my problem is something else,
or at least includes something else.
>
i hope it can help you....
have you tried to find some examples in: http://www.w3schools.com/ajax/default.asp
On 5 jul, 16:17, "xcampan...@gmail.com" <xcampan...@gmail.comwrote:
On Jul 2, 11:06 pm, MadMad <eduardo.sand...@gmail.comwrote:On 2 jul, 21:11, "xcampan...@gmail.com" <xcampan...@gmail.comwrote:
I made the following additions, but my results are the same. It
appears I have no way to talk to other than my own server. Is this
always just limited to my native server? If so I don't get some of
the examples I'm seeing...??
When I uncomment either of the http urls below instead of the local
file, I always get a readyStatus of zero, and I never get past trace 2
alert. When I use the local file I get readyStatus 1 and get to trace
3 just fine:
alert("xhr = " + xhr);
xhr.abort(); xhr.onreadystatechange = parseHttpResponse;
alert("trace 1:" + xhr.status + ", readyState: " +
xhr.readyState);
try {
//xhr.open("GET", "http://www.eskimo.com", true);
xhr.open("GET", "http://joehill/index.html?
joker=9999999", true);
//xhr.open("GET", "file:///home/xeno/study/read000.html",
true);
} catch(e) {
alert("trace 1a:" + xhr.status + ", readyState: " +
xhr.readyState);
};
alert("trace 2:" + xhr.status + ", readyState: " +
xhr.readyState);
xhr.send(null);
alert("trace 3:" + xhr.status + ", readyState: " +
xhr.readyState);
----snip----
I think I'm supposed to be able to do this, but as I say above it
doesn't go. I wonder if there's an extra setting here I missed, or if
I need to specify a UserAgent or configure my web server daemon
somehow differently. Please I am stuck. I need feedback or
especially references.
i think you should attach url joker param for example homepage.html
but now homepage.html?random=3432432.3243 to make it recover again the
web page...
I appreciate your feedback, but I think my problem is something else,
or at least includes something else.
i hope it can help you....
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: baustin75 |
last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie
only when debugging in php designer 2005
--------------------------------------------------------------------------------
...
|
by: newgenre |
last post by:
I set up a simple page with vs.net. It's kust an html page and I'm trying to
get people to the site through the internet. My server is Windows XP and I
use IIS as the server. The problem is that I...
|
by: Michael |
last post by:
Hi,
I'm trying to do something which should be very simple - connect to the
MySQL database. Here is the call, followed by the error msg.
$conn = mysql_connect("localhost", "root", "");
...
|
by: Luqman |
last post by:
I have copied the following code from Internet, and copied it to a file
named : test.aspx, and copied that file to c:\Inetpub\wwwroot Directory.
When I type on my Internet explorer:...
|
by: JonSteng |
last post by:
..Net Visual Studio Professional 2003 Version 7.1.3088
..Net Framework 1.1 SP1 Version 1.1.4322
IIS 5.1
Windows XP Professional SP2
Micron T3000 Laptop (1.5 GHz; 1GB RAM; 40GB HD with 17GB Free)...
|
by: DressageRider |
last post by:
I need your help. Desperately. Someone has to be able to fix the utter balls up I've made after dinking around in Flash for the last four days.
I have no prior knowledge of anything other than...
|
by: Mick1000 |
last post by:
Hi all,
I am new to perl and this forum. I am trying to setup a mailing list subscription functionality for customers to receive a periodic newsletter from me. My perl program grabs the html form...
|
by: =?Utf-8?B?cm1jb21wdXRl?= |
last post by:
I have Windows 2000 and recently included Internet Information Services. I
then created a simple ASP file and clicked on it. The Open With dialog
appears asking me to select a program. I copied...
|
by: jerry |
last post by:
i have written a simple phonebook program,i'll show you some of the
codes,the program's head file is member.h . i suppose the head file
works well.so i don't post it. here's the clips of main...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |