Thanks for the tip but the code I posted was as a result of
meticulously removing bits of a far bigger piece of code. The JSON is
supposed to be returned by an Ajax.Request() so I assume it'll be
coming through as a string, hence the code above.
In any case, if I removed the link to the code cont
Hey,
Kevin Smith wrote:
> Hi,
>
> I'm running the exact code and do not get any IE7 hangs:
[...]
> Event.observe(window, 'load', function() {
> Event.observe($('btn'), 'click', function() {
> var j = ' {"easting": "518353", "northing": "168119"} ';
> var c = j.evalJSON();
>
Hi,
I'm running the exact code and do not get any IE7 hangs:
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
http://www.w3.org/1999/xhtml";>
Event.observe(window, 'load', function() {
Event.observe($('btn'), 'click', function() {
var j = ' {"easting": "518353", "northi
Alex Mcauley wrote:
> have you tried to remove the single quotes around the json string ?
evalJSON() is a method on String, so that doesn't work.
At this point in time I'm satisfied it's a conflict: if I remove
references to the other JavaScript (that itself references the old
Prototype code) th
On Nov 13, 4:40 pm, kangax <[EMAIL PROTECTED]> wrote:
>
> How is it conflicting? Any more details?
>
No more details as yet. If only I had some way of debugging IE like I
do with Firefox (Firebug). I'm not getting any errors but the CPU
starts maxing out and eventually I get that prompt.
--~--~--
On Nov 13, 11:28 am, gingerbbm <[EMAIL PROTECTED]> wrote:
> Looks like Prototype 1.6.0.3 is conflicting with an earlier version
> that has been integrated into another app I'm using - MapGuide Fusion.
>
> Is there a way to run two different versions alongside each other?!
How is it conflicting? A
have you tried to remove the single quotes around the json string ?
- Original Message -
From: "gingerbbm" <[EMAIL PROTECTED]>
To: "Prototype & script.aculo.us"
Sent: Thursday, November 13, 2008 4:28 PM
Subject: [Proto-Scripty] Re: evalJSON hangs IE
>
Looks like Prototype 1.6.0.3 is conflicting with an earlier version
that has been integrated into another app I'm using - MapGuide Fusion.
Is there a way to run two different versions alongside each other?!
--~--~-~--~~~---~--~~
You received this message because yo