Entry tags:
Today's source of murderous rage: AJAX help needed
Why would Firefox + prototype.js recognize an X-JSON of "monkey" just fine, as well as "['gibbon', 'ape', 'baboon']", but not "{'monkey_count': 42}" or even, for that matter, "{}"?
Safari is handling all of these just fine. Firefox ain't; it evaluates the latter two into "undefined". This is the latest Firefox for Mac.
Sarcastic/self-deprecatory answers from people who don't know what I am talking about not welcome. I am very grumpy right now. I am seriously about to go looking for a clock tower. For me to climb to the top of and then for me to point at people while saying pshew pshew.
Also if you comment to tell me that an ape isn't a monkey I will punch you in the head with my fists.
Update I discovered a workaround: if I wrap the curly-braced object spec in square brackets, and then pull a
Safari is handling all of these just fine. Firefox ain't; it evaluates the latter two into "undefined". This is the latest Firefox for Mac.
Sarcastic/self-deprecatory answers from people who don't know what I am talking about not welcome. I am very grumpy right now. I am seriously about to go looking for a clock tower. For me to climb to the top of and then for me to point at people while saying pshew pshew.
Also if you comment to tell me that an ape isn't a monkey I will punch you in the head with my fists.
Update I discovered a workaround: if I wrap the curly-braced object spec in square brackets, and then pull a
json = json[0];
on the receiving end, it works. I'll take it. This does not answer my question, though.