<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Return JSON array using AJAX and Prototype</title>
	<atom:link href="http://deadlytechnology.com/scripts/return-json-array-using-ajax-and-prototype/feed/" rel="self" type="application/rss+xml" />
	<link>http://deadlytechnology.com/scripts/return-json-array-using-ajax-and-prototype/</link>
	<description></description>
	<lastBuildDate>Fri, 10 Feb 2012 00:31:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: BlockBuster</title>
		<link>http://deadlytechnology.com/scripts/return-json-array-using-ajax-and-prototype/comment-page-1/#comment-514</link>
		<dc:creator>BlockBuster</dc:creator>
		<pubDate>Sat, 05 Dec 2009 01:15:19 +0000</pubDate>
		<guid isPermaLink="false">http://deadlytechnology.com/scripts/return-json-array-using-ajax-and-prototype/#comment-514</guid>
		<description>I didn&#039;t get this :\ can somebody pls explain?</description>
		<content:encoded><![CDATA[<p>I didn&#8217;t get this :\ can somebody pls explain?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: frank</title>
		<link>http://deadlytechnology.com/scripts/return-json-array-using-ajax-and-prototype/comment-page-1/#comment-395</link>
		<dc:creator>frank</dc:creator>
		<pubDate>Wed, 27 May 2009 11:07:18 +0000</pubDate>
		<guid isPermaLink="false">http://deadlytechnology.com/scripts/return-json-array-using-ajax-and-prototype/#comment-395</guid>
		<description>@dietbrisk thanks!</description>
		<content:encoded><![CDATA[<p>@dietbrisk thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dietbrisk</title>
		<link>http://deadlytechnology.com/scripts/return-json-array-using-ajax-and-prototype/comment-page-1/#comment-394</link>
		<dc:creator>dietbrisk</dc:creator>
		<pubDate>Tue, 26 May 2009 18:24:35 +0000</pubDate>
		<guid isPermaLink="false">http://deadlytechnology.com/scripts/return-json-array-using-ajax-and-prototype/#comment-394</guid>
		<description>worst written article ever. but the code set me straight.</description>
		<content:encoded><![CDATA[<p>worst written article ever. but the code set me straight.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean</title>
		<link>http://deadlytechnology.com/scripts/return-json-array-using-ajax-and-prototype/comment-page-1/#comment-152</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Wed, 10 Sep 2008 14:00:13 +0000</pubDate>
		<guid isPermaLink="false">http://deadlytechnology.com/scripts/return-json-array-using-ajax-and-prototype/#comment-152</guid>
		<description>Should it be:

header(&#039;Content-type: application/json&#039;);

instead of:

header(&#039;Content-type: application/x-json&#039;);</description>
		<content:encoded><![CDATA[<p>Should it be:</p>
<p>header(&#8216;Content-type: application/json&#8217;);</p>
<p>instead of:</p>
<p>header(&#8216;Content-type: application/x-json&#8217;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: spent</title>
		<link>http://deadlytechnology.com/scripts/return-json-array-using-ajax-and-prototype/comment-page-1/#comment-153</link>
		<dc:creator>spent</dc:creator>
		<pubDate>Wed, 10 Sep 2008 13:13:24 +0000</pubDate>
		<guid isPermaLink="false">http://deadlytechnology.com/scripts/return-json-array-using-ajax-and-prototype/#comment-153</guid>
		<description>Actually lionheart33806, the latest prototype is looking for X-JSON and not JSON.

_getHeaderJSON: function() {
    var json = this.getHeader(&#039;X-JSON&#039;);
    if (!json) return null;
    json = decodeURIComponent(escape(json));
    try {
      return json.evalJSON(this.request.options.sanitizeJSON &#124;&#124;
        !this.request.isSameOrigin());
    } catch (e) {
      this.request.dispatchException(e);
    }
  }</description>
		<content:encoded><![CDATA[<p>Actually lionheart33806, the latest prototype is looking for X-JSON and not JSON.</p>
<p>_getHeaderJSON: function() {<br />
    var json = this.getHeader(&#8216;X-JSON&#8217;);<br />
    if (!json) return null;<br />
    json = decodeURIComponent(escape(json));<br />
    try {<br />
      return json.evalJSON(this.request.options.sanitizeJSON ||<br />
        !this.request.isSameOrigin());<br />
    } catch (e) {<br />
      this.request.dispatchException(e);<br />
    }<br />
  }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: royger</title>
		<link>http://deadlytechnology.com/scripts/return-json-array-using-ajax-and-prototype/comment-page-1/#comment-150</link>
		<dc:creator>royger</dc:creator>
		<pubDate>Fri, 22 Aug 2008 06:33:32 +0000</pubDate>
		<guid isPermaLink="false">http://deadlytechnology.com/scripts/return-json-array-using-ajax-and-prototype/#comment-150</guid>
		<description>You should use prototype&#039;s insert method instead of innerHTML (which is Microsoft specific and not a standart)
http://www.prototypejs.org/api/element/insert</description>
		<content:encoded><![CDATA[<p>You should use prototype&#8217;s insert method instead of innerHTML (which is Microsoft specific and not a standart)<br />
<a href="http://www.prototypejs.org/api/element/insert" rel="nofollow">http://www.prototypejs.org/api/element/insert</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lionheart33806</title>
		<link>http://deadlytechnology.com/scripts/return-json-array-using-ajax-and-prototype/comment-page-1/#comment-154</link>
		<dc:creator>lionheart33806</dc:creator>
		<pubDate>Thu, 26 Jun 2008 13:19:20 +0000</pubDate>
		<guid isPermaLink="false">http://deadlytechnology.com/scripts/return-json-array-using-ajax-and-prototype/#comment-154</guid>
		<description>The content-type recognized by Prototype is &quot;application/json&quot; not &quot;application/x-json&quot;.</description>
		<content:encoded><![CDATA[<p>The content-type recognized by Prototype is &#8220;application/json&#8221; not &#8220;application/x-json&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stanley</title>
		<link>http://deadlytechnology.com/scripts/return-json-array-using-ajax-and-prototype/comment-page-1/#comment-151</link>
		<dc:creator>Stanley</dc:creator>
		<pubDate>Wed, 16 Apr 2008 02:33:42 +0000</pubDate>
		<guid isPermaLink="false">http://deadlytechnology.com/scripts/return-json-array-using-ajax-and-prototype/#comment-151</guid>
		<description>muy bueno ,me aydo bastante gracias,</description>
		<content:encoded><![CDATA[<p>muy bueno ,me aydo bastante gracias,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith</title>
		<link>http://deadlytechnology.com/scripts/return-json-array-using-ajax-and-prototype/comment-page-1/#comment-149</link>
		<dc:creator>Keith</dc:creator>
		<pubDate>Wed, 19 Dec 2007 17:22:49 +0000</pubDate>
		<guid isPermaLink="false">http://deadlytechnology.com/scripts/return-json-array-using-ajax-and-prototype/#comment-149</guid>
		<description>I just want to thank you for posting this! It was exactly the pointers I needed to get started.</description>
		<content:encoded><![CDATA[<p>I just want to thank you for posting this! It was exactly the pointers I needed to get started.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajaxorized &#187; Blog Archive &#187; JSON in prototype 1.6.0: basic example</title>
		<link>http://deadlytechnology.com/scripts/return-json-array-using-ajax-and-prototype/comment-page-1/#comment-148</link>
		<dc:creator>Ajaxorized &#187; Blog Archive &#187; JSON in prototype 1.6.0: basic example</dc:creator>
		<pubDate>Wed, 03 Oct 2007 23:16:47 +0000</pubDate>
		<guid isPermaLink="false">http://deadlytechnology.com/scripts/return-json-array-using-ajax-and-prototype/#comment-148</guid>
		<description>[...] on it&#039;s way and there is one aspect I want to share with you. In stead of using the old-fashioned &#039;http-header&#039; way to transport JSON, the prototype framework now eats files with the content-type &#039;application/json&#039;. [...]</description>
		<content:encoded><![CDATA[<p>[...] on it&#8217;s way and there is one aspect I want to share with you. In stead of using the old-fashioned &#8216;http-header&#8217; way to transport JSON, the prototype framework now eats files with the content-type &#8216;application/json&#8217;. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)

Served from: deadlytechnology.com @ 2012-02-10 20:56:42 -->
