Latest foundings are that code works on some computers and on some dont.
Non working confinguration:
win 2000 server 5.00.2195, sp4
IE 6.0.2800.1106
updates: SP1;Q330994;Q818529;Q822925;Q828750;Q824145
Msxml2.dll version: 8.2.8307.0
Working configuration:
win 2000 server; version...
Some new findings...
I found that the thing locks after ReadyState=1 and before ReadyState=2.
The lock lasts for approx. 3-5 minutes. Then the object reaches ReadyState=4 without any data.
After the first lock, every call to the function locks after ReadyState=1 and the lock releases after...
Hi again!
I made a client code which fatches an xml file from a server.
The client code looks like:
function onButtonClick() {
http = new ActiveXObject( 'Msxml2.XMLHTTP' );
http.open( 'GET', "http://myserver.com/testXML.asp", true );
http.onreadystatechange = function() {
if(...
Well, that's not realy true. Javascript can be both, server and client side language.
Tomi Hrovatin
http://freelancer.hrovatin.net
http://www.flowerServant.com
Hi!
I'm writing a cache system for my ASP files (on IIS). I use javascript on server side and I'd like to set date and time to my cached files.
I found vb exemple on net, but is it possible to do it with javascript?
Tomi
Tomi Hrovatin
http://freelancer.hrovatin.net
http://www.flowerServant.com
Well, yes and thanx for taking me on the right track. I realy needed a break to see this mistake:
The wrong part was:
s.onchange = "function () {alert()}";
but should be:
s.onchange = function () {alert()};
thnx again,
t.
Tomi Hrovatin
http://freelancer.hrovatin.net...
Hi!
I have a problem when I programaticaly define onchange event to select tag.
the working code looks like this:
var d = document;
//create select element
var tmp = "<select id='selectID' onchange='alert()'>";
var s = d.createElement(tmp);
//append select element to a div on page...
Hi again,
guys, thnx for all your opinions, but none solved the problem, since there was NO problem at all. The error was caused by IE 6. Today everything works on both computers. Yesterday I used single explorer window for a whole day.
I will check all the code for object disposals and memory...
ok. This is an xml for generating html pages.
The client side is writen in jscript and goes like this:
http = new ActiveXObject( 'Msxml2.XMLHTTP' );
http.open( 'GET', url, true );
http.onreadystatechange = function() {
if( http.readyState == 4 ) {
var doc = http.responseXML...
Sorry, you are perfectly right. Here is the url to original xml:
http://www.rastline.com/dl/getContent.xml
T.
Tomi Hrovatin
http://freelancer.hrovatin.net
http://www.flowerServant.com
That's what I think, too. But I don't have a clue which one it is.
Just for info: I use Msxml2.DomDocument on server side (asp) to create xml which is called by client jscript.
T.
Tomi Hrovatin
http://freelancer.hrovatin.net
http://www.flowerServant.com
Thnx for your answer, but I don't think that is a problem since all tags in XML content tag (table, tr, img, ...) are encoded with &some_code;. So, there is no reason they are interpreted like a tag or to interpret arguments like tag arguments.
I just tried it again on different computer (the...
Hi!
Can anybody, please, tell me what's wrong with this XML:
NOTE: tags within CONTENT tag are properly encoded ie: &some_code;
<?xml version="1.0" ?>
<root>
<content><IMG height=15 src="http://vaio/cmpro/sites/linia-gradiani/images//images/spacer.gif" width=1><BR>
<TABLE...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.