Web Analytics Made Easy -
StatCounter Safari size limit on Ajax response? - CodingForum

Announcement

Collapse
No announcement yet.

Safari size limit on Ajax response?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Safari size limit on Ajax response?

    Hi,

    I have this call (prototype):

    Code:
    			var htmlData = new Ajax.Request(
    				u, 
    				{
    					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?
    Thanks
Working...
X