<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: Can jqGrid do a cross-domain call?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/can-jqgrid-do-a-cross-domain-call</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/help/can-jqgrid-do-a-cross-domain-call/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>MamaliFrenchi on Can jqGrid do a cross-domain call?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/can-jqgrid-do-a-cross-domain-call#p3850</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/can-jqgrid-do-a-cross-domain-call#p3850</guid>
        	        	<description><![CDATA[<p>Is not&#160; jqGris, but The <strong>XMLHttpRequest</strong> object doesn&#39;t allow"cross-domain" call. you should as you have already done use a "Bridge" call to other domain.</p>
]]></description>
        	        	<pubDate>Tue, 06 Jan 2009 20:33:53 +0200</pubDate>
        </item>
        <item>
        	<title>murdoc on Can jqGrid do a cross-domain call?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/can-jqgrid-do-a-cross-domain-call#p3849</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/can-jqgrid-do-a-cross-domain-call#p3849</guid>
        	        	<description><![CDATA[<p>Hi,tony:</p>
<p>&#160;&#160; can write code like this ?</p>
<p>&#160;jQuery("#taskList").jqGrid({<br />&#160;&#160;&#160; url:&#39;192.168.1.88:13310/stat/tasks&#39;,<br />&#160;&#160; &#160;&#160;&#160; datatype:&#39;xml&#39;,</p>
<p>&#160;&#160; ..............</p>
<p>the url is&#160;&#160; cross-domain.&#160;&#160;&#160; jqgrid can&#39;t read the data.</p>
<p>and I&#160; add the following code as&#160; a php file "tasklist.php" :</p>
<p>&#60;?<br />$content = @file_get_contents(&#39;<a href="http://192.168.1.88:13310/stat/tasks&#038;#39" rel="nofollow" target="_blank"><a href="http://192.168.1.88:13310/stat" rel="nofollow">http://192.168.1.88:13310/stat</a>.....s&#038;#39</a>;);<br />if (stristr($_SERVER["HTTP_ACCEPT"],"application/xhtml+xml")) {<br />header("Content-type: application/xhtml+xml"); } else {<br />header("Content-type: text/xml");<br />} ;<br />echo $content;<br />?&#62;</p>
<p>and set url to "tasklist.php" ,the grid can read the data.</p>
<p>why this two different ways can lead to two different results?</p>
]]></description>
        	        	<pubDate>Tue, 06 Jan 2009 20:04:30 +0200</pubDate>
        </item>
</channel>
</rss>