<?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: Params not being saved in cookie</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/params-not-being-saved-in-cookie</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/params-not-being-saved-in-cookie/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Params not being saved in cookie</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/params-not-being-saved-in-cookie#p4392</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/params-not-being-saved-in-cookie#p4392</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>It is quite possible.The max size of cookie is browser depended.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 05 Feb 2009 02:02:47 +0200</pubDate>
        </item>
        <item>
        	<title>jCooper85 on Params not being saved in cookie</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/params-not-being-saved-in-cookie#p4353</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/params-not-being-saved-in-cookie#p4353</guid>
        	        	<description><![CDATA[<p>Hey tony,</p>
<p>I am trying to save my grid perferences (params) in a cookie. &#160;I followed the advice in this post&#160;<a href="http://www.trirand.com/blog/?page_id=18/help/save-preferences/page-1/post-2325/" target="_blank"><a href="http://www.trirand.com/blog/?p" rel="nofollow">http://www.trirand.com/blog/?p</a>.....post-2325/</a>&#160;and it all works except for the create cookie. &#160;&#160;</p>
<p>Heres my loadComplete code:</p>
</p>
<p>loadComplete : function() {</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;var gridInfo = $("#list").getGridParam();</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;$.cookie(&#39;grid&#39;, JSON.stringify(gridInfo));</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;alert($.cookie(&#39;grid&#39;));</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160;},</p>
<p>When it never creates the cookie, yet if I put a random string in there it will create it just fine. &#160;The only thing I can think of is that when the JSON.stringify() method fires it creates data that is to large for a cookie. &#160;Is that whats happening here? &#160;If so how do I get around this.</p>
<p>Regards,</p>
<p>Jason Cooper</p>
]]></description>
        	        	<pubDate>Wed, 04 Feb 2009 09:56:35 +0200</pubDate>
        </item>
</channel>
</rss>