Hello all,
I'm seeing an issue in the latest version of Safari and IE. Basically
within a page accessed by ajax.updater, I am trying to run a js script
with a large amount of json data embedded in it. I am seeing that it
works in Firefox, but when I am in Safari or IE the issue arises.
The page called by the ajax would look something like this.
//Get data
$data = get_data(); // data looks something like data[1000] = array
('item1'=>it,'item2'=>it,'item3'=>it)
$jsonData = json_encode(data);
echo '<script>somefunction('.$jsonData.');</script>';
Now in Safari and IE I'm seeing that if I lower that data array count
to say 200 instead of 1000, I dont have any issues. In Firefox,
regardless of size I see no issue.
I was wondering if there are any known issues when using evalScripts
of a browser specific limitation on the script size. Otherwise my
problem could lie elsewhere.
Any insight is appreciated and thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---