I am generating a json structured array with php. Then, I use the XMLHttpRequest object to call in the string. Then when the string in loaded in , I eval it, so that I can parse through it with javascript. Problem here is that when I eval the string, it cuts off everything after 254 characters. I did some research on this, and it states some bugs on this for netscape 2.0. I am using netscape 8 for testing. Does anyone know of a workaround? or any other solution?
[CODE]var json = eval(‘(‘+this.req.responseText+’)’);
‘this.req.responseText’ being my string generated from PHP. If i dont eval it, I get all my of my string. But, I have to eval it to be able to parse it in js.
Thanks
-Trey