PC IE and AJAX

R

Randy Webb

R

Randy Webb

Phat G5 (G3) said the following on 1/23/2006 5:37 PM:
Ok. I tried changing it here:

http://steffan.hldns.com:85/alex_pilson/index2.lasso

That was not it. It still throws the same error.

Any other ideas?

Go to this file:

http://steffan.hldns.com:85/alex_pilson/scripts/xmlhandler.js

And remove the multi-line comment at the top. Everything before the line:

var MWJ_ldD = [];

And then re-save it.

MSIE on Windows doesn't like that multi-line comment. When I remove it
in a locally saved copy, the errors go away.
 
P

Phat G5 (G3)

Phat G5 (G3) said the following on 1/23/2006 5:37 PM:
Ok. I tried changing it here:

http://steffan.hldns.com:85/alex_pilson/index2.lasso

That was not it. It still throws the same error.

Any other ideas?

Go to this file:

http://steffan.hldns.com:85/alex_pilson/scripts/xmlhandler.js

And remove the multi-line comment at the top. Everything before the line:

var MWJ_ldD = [];

And then re-save it.

MSIE on Windows doesn't like that multi-line comment. When I remove it
in a locally saved copy, the errors go away.
I did this and you can see it in refreshing the url and it still bombing out
here.

Next?


-S
 
J

jgwyman

The error is in this line:

x.options= new Option( (y.childNodes[3].firstChild.nodeValue) ,
(y.childNodes[1].firstChild.nodeValue) )

I'd try breaking it down to

var A = y.childNodes[3].firstChild.nodeValue ;
var B = y.childNodes[1].firstChild.nodeValue ;

x.options= new Option(A, B) ;

and see where it errors out.
 
J

jgwyman

Running the VS.NET debugger is showing that y only has 3 children.
Given that it's 0 base - would looking for 3 put it past the end of the
array?
 
P

Phat G5 (G3)

Running the VS.NET debugger is showing that y only has 3 children.
Given that it's 0 base - would looking for 3 put it past the end of the
array?
Well, HOT DAMN! That was is. I had the indices of the nodes wrong. Its
working great now. Thank you. BTW, how did you get VS.net to work for you? I
could never get it set up right.

-S
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top