View Full Version : Safari size limit on Ajax response?

04-01-2009, 03:24 PM

I have this call (prototype):

var htmlData = new Ajax.Request(
method: 'get',
parameters: pars,
onComplete: showData

u is a php script that retrieve the html data from a page with file_get_contents.
I need all the html data (response text) for parse in js the DOM elements and retrieve css attributes.

My code works fine for all browser... except Safari.

In safari, if the html of the page to analyse is "big" (I don't know the exact size), I don't receive any output, it simply wait for an answer the never arrive.
I read about a data size limite for safari lower than other browsers, but I don't know how to solve my problem.

Any idea?