<?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: json not well-formed</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/json-not-well-formed</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/json-not-well-formed/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>OlegK on json not well-formed</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/json-not-well-formed#p22981</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/json-not-well-formed#p22981</guid>
        	        	<description><![CDATA[<p>I wote from my first answer, that you <strong><span style="text-decoration: underline;"><em>have to set</em></span></strong> "Content-Type:&#160;application/json" in the HTTP header of the server response. Just use google to find how to do it in case of server technology which you use. The method like <strong>setContentType("application/json"</strong>) of the <strong>HttpServletResponse</strong> response can be used for example in java servlets.</p>
<p>Oleg</p>
]]></description>
        	        	<pubDate>Fri, 29 Apr 2011 14:28:58 +0300</pubDate>
        </item>
        <item>
        	<title>amarpol1305 on json not well-formed</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/json-not-well-formed#p22980</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/json-not-well-formed#p22980</guid>
        	        	<description><![CDATA[<p>no extension of the file name is not mandetory. I have tried with txt file and it is working properly withouth any error. But when i am using a java (servlet) to generate json and print on same page it give the same error.</p>
]]></description>
        	        	<pubDate>Fri, 29 Apr 2011 14:19:26 +0300</pubDate>
        </item>
        <item>
        	<title>amarpol1305 on json not well-formed</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/json-not-well-formed#p22976</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/json-not-well-formed#p22976</guid>
        	        	<description><![CDATA[<p>thank you,</p>
<p>ok got the problem, the json i created is not .json file . Is it mandetory to have extension as .json . Currently i print a josn object&#160; with the help of jsp file</p>
]]></description>
        	        	<pubDate>Fri, 29 Apr 2011 12:38:40 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on json not well-formed</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/json-not-well-formed#p22956</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/json-not-well-formed#p22956</guid>
        	        	<description><![CDATA[<p>Some functions used in the posted code (isNameValid and successMsg) are not defined.&#160;</p>
<p>You code contain many small syntax errors. For examples the line</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2256' value='Select Code' data-codeid='sfcode2256' /></p>
<div class='sfcode' id='sfcode2256'>be = &#39; &#60;a title=&#34;Edit this row&#34; href=&#34;javascript:void(0);&#34; onclick=&#34;jQuery(&#39;#list&#39;).editRow(&#39;+cl+&#39;); jQuery(this).parent().hide(); jQuery(this).parent().next().show(); &#34;&#62;Edit&#60;/a&#62;&#39;;</div>
<p>must be fixed as</p>
<p><input type='button' class='sfcodeselect' name='sfselectit1597' value='Select Code' data-codeid='sfcode1597' /></p>
<div class='sfcode' id='sfcode1597'>be = &#39; &#60;a title=&#34;Edit this row&#34; href=&#34;javascript:void(0);&#34; onclick=&#34;jQuery(<strong>\</strong>&#39;#list<strong>\</strong>&#39;).editRow(&#39;+cl+&#39;); jQuery(this).parent().hide(); jQuery(this).parent().next().show(); &#34;&#62;Edit&#60;/a&#62;&#39;;</div>
<p>(&#39; character must be escaped), the line</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2348' value='Select Code' data-codeid='sfcode2348' /></p>
<div class='sfcode' id='sfcode2348'>jQuery(&#39;#list&#39;).jqGrid(&#39;setRowData&#39;,ids[i],{act:&#39;&#60;span id=&#34;edit_row_&#39;+cl+&#39;&#34;&#62;&#39;+be+de+&#39;&#60;/span&#62;&#39;+&#39;&#60;span style=display:none id=&#34;save_row_&#39;+cl+&#39;&#34;&#62;&#39;+se+ce+&#39;&#60;/span&#62;&#39;});</div>
<p>must be fixed as</p>
<p><input type='button' class='sfcodeselect' name='sfselectit3867' value='Select Code' data-codeid='sfcode3867' /></p>
<div class='sfcode' id='sfcode3867'>jQuery(&#39;#list&#39;).jqGrid(&#39;setRowData&#39;,ids[i],{act:&#39;&#60;span id=&#34;edit_row_&#39;+cl+&#39;&#34;&#62;&#39;+be+de+&#39;&#60;/span&#62;&#39;+&#39;&#60;span style=<strong>&#34;</strong>display:none&#34; id=&#34;save_row_&#39;+cl+&#39;&#34;&#62;&#39;+se+ce+&#39;&#60;/span&#62;&#39;});</div>
<p>and so on. You should additionally define variables like <strong>be</strong>, <strong>de</strong> and so on.</p>
<p>How you can see on <a href="http://www.ok-soft-gmbh.com/jqGrid/amarpol1305.htm" target="_blank">the demo</a>, the JSON data which you posted before could be read with the fixed code.</p>
<p>Regards<br />Oleg&#160;</p></p>
]]></description>
        	        	<pubDate>Wed, 27 Apr 2011 19:04:21 +0300</pubDate>
        </item>
        <item>
        	<title>amarpol1305 on json not well-formed</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/json-not-well-formed#p22948</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/json-not-well-formed#p22948</guid>
        	        	<description><![CDATA[<blockquote>
<p>OlegK said:</p>
<p>Are you posted the <strong>request</strong> headers or do the headers of the server <strong>response</strong>?</p>
<p>Could you post the definition of the jqGrid which should be filled with the JSON data?</p>
<p>Regards<br />Oleg&#160;</p>
</blockquote>
<hr />
<p>here is my grid</p>
<p>&#60;script type="text/javascript"&#62;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; function isValidPhone(value, name) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; console.log(&#39;isValidPhone&#39;);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var errorMessage = name + &#39;: Invalid Format&#39;;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var success = value.length === 10;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; return [success, success ? &#39;&#39; : errorMessage];<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; } &#160;&#160; &#160;&#160;&#160; &#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery(document).ready(function(){<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var lastsel2;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#list").jqGrid({&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;url:&#39;DepartmentController&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;editurl:&#39;DepartmentController&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: &#39;json&#39;, <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; mtype: &#39;POST&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames:[&#39;Department Name&#39;,&#39;Description&#39;,&#39;Is Active&#39;,&#39;Action&#39;],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel :[ <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;name&#39;, index:&#39;name&#39;,align:&#39;left&#39;, width:90,editable: true,editoptions:{size:"20",maxlength:"30"},editrules: { required:true,custom:true,custom_func:isNameValid },formoptions:{ rowpos:1, label: "Department Name :"}},&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;description&#39;, index:&#39;description&#39;, width:90,editable: true,editoptions:{size:"20",maxlength:"30"},editrules: { required: true },formoptions:{ colpos:1,rowpos:2, label: "Description :"}},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;isActive&#39;, index:&#39;isActive&#39;, width:90,editable: true,hidden:true,edittype:&#39;checkbox&#39;,editoptions:{size:"20",maxlength:"30",value:"true:false"},editrules: { required: true,edithidden:true },formoptions:{ colpos:1,rowpos:3, label: "Is Active :"}},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;act&#39;,index:&#39;act&#39;, width:115, align:"center", editable:false, search:false} ],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; pager: jQuery(&#39;#pager&#39;), rowNum:10, width:922, height:240, rowList:[5,10,15], sortname: &#39;id&#39;,rownumbers: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortorder: "desc", viewrecords: true, emptyrecords: &#39;No data Found!&#39;, imgpath: &#39;themes/basic/images&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; multiselect: true, multiboxonly: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; gridModel:true,&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; gridComplete: function(){</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var ids = jQuery("#list").getDataIDs();<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; for(var i=0;i &#60; ids.length;i++){<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var cl = ids[i];&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; be = &#39; &#60;a title="Edit this row" href="javascript:void(0);" onclick="jQuery(\&#39;#list\&#39;).editRow(&#39;+cl+&#39;); jQuery(this).parent().hide(); jQuery(this).parent().next().show(); "&#62;Edit&#60;/a&#62;&#39;;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; de = &#39; &#124; &#60;a title="Delete this row" href="javascript:void(0);" onclick="jQuery(\&#39;#list\&#39;).delGridRow(&#39;+cl+&#39;); "&#62;Delete&#60;/a&#62;&#39;;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; se = &#39; &#60;a title="Save this row" href="javascript:void(0);" onclick="jQuery(\&#39;#list\&#39;).saveRow(&#39;+cl+&#39;); jQuery(this).parent().hide(); jQuery(this).parent().prev().show();"&#62;Save&#60;/a&#62;&#39;;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ce = &#39; &#124; &#60;a title="Restore this row" href="javascript:void(0);" onclick="jQuery(\&#39;#list\&#39;).restoreRow(&#39;+cl+&#39;); jQuery(this).parent().hide(); jQuery(this).parent().prev().show();"&#62;Cancel&#60;/a&#62;&#39;;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery(&#39;#list&#39;).jqGrid(&#39;setRowData&#39;,ids[i],{act:&#39;&#60;span id="edit_row_&#39;+cl+&#39;"&#62;&#39;+be+de+&#39;&#60;/span&#62;&#39;+&#39;&#60;span style=display:none id="save_row_&#39;+cl+&#39;"&#62;&#39;+se+ce+&#39;&#60;/span&#62;&#39;});<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //jQuery(&#39;#list&#39;).setRowData(ids[i],{act:be+de});&#160;&#160; &#160;//Save and Cancel buttons inserted via jqGrid setRowData function<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ondblClickRow: function(id){<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if(id &#38;&#38; id!==lastsel2){<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery(&#39;#list&#39;).restoreRow(lastsel2);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery(&#39;#list&#39;).editRow(id,true);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; lastsel2=id;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; be = &#39; &#60;a title="Edit this row" href="javascript:void(0);" onclick="jQuery(\&#39;#list\&#39;).editRow(&#39;+id+&#39;,true); jQuery(this).parent().hide(); jQuery(this).parent().prev().show(); "&#62;Edit&#60;/a&#62;&#39;;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; de = &#39; &#124; &#60;a title="Delete this row" href="javascript:void(0);" onclick="jQuery(\&#39;#list\&#39;).delGridRow(&#39;+id+&#39;); "&#62;Delete&#60;/a&#62;&#39;;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; se = &#39; &#60;a title="Save this row" href="javascript:void(0);" onclick="jQuery(\&#39;#list\&#39;).saveRow(&#39;+id+&#39;); jQuery(this).parent().hide(); jQuery(this).parent().next().show();"&#62;Save&#60;/a&#62;&#39;;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ce = &#39; &#124; &#60;a title="Restore this row" href="javascript:void(0);" onclick="jQuery(\&#39;#list\&#39;).restoreRow(&#39;+id+&#39;); jQuery(this).parent().hide(); jQuery(this).parent().next().show();"&#62;Cancel&#60;/a&#62;&#39;;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery(&#39;#list&#39;).jqGrid(&#39;setRowData&#39;,id,{act:&#39;&#60;span id="save_row_&#39;+id+&#39;"&#62;&#39;+se+ce+&#39;&#60;/span&#62;&#39;+&#39;&#60;span style=display:none id="edit_row_&#39;+id+&#39;"&#62;&#39;+be+de+&#39;&#60;/span&#62;&#39;});<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; });&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $.jgrid.edit.addCaption = "Add Department";<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $.jgrid.edit.bSubmit = "Save";<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $.jgrid.del.bSubmit = "Delete Department";<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $.jgrid.edit.width = 400;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //$.jgrid.edit.height = 150;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#list").navGrid(&#39;#pager&#39;,{<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; edit:true,add:true,del:true,search:false,alertcap:"Warning!!",alerttext:"Please, select Department"},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;modal: true, reloadAfterSubmit: false,&#160; closeOnEscape: false, closeAfterEdit: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;afterSubmit: function(response,postdata){ <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;if (response.responseText == "") {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;successMsg(&#39;Edited Successfully&#39;);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;return [true, response.responseText]<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;} else {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;return [false, response.responseText]<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;}<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;}<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;{<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;modal: true, reloadAfterSubmit: true,&#160; closeOnEscape: false, closeAfterAdd: true, <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;afterSubmit: function(response,postdata) { <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;if (response.responseText == "") {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;successMsg(&#39;Added Successfully&#39;);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;return [true, response.responseText]<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;} else {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;return [false, response.responseText]<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;}<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;}<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; modal: true, reloadAfterSubmit: true,&#160; closeOnEscape: false, closeAfterDelete: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; afterSubmit: function(response,postdata){ <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (response.responseText == "") {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; successMsg(&#39;Deleted Successfully&#39;);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;return [true, response.responseText]<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;}<br />&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;else {<br />&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;alert("Unable to deleted, Please try again !");<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; return [false, response.responseText]<br />&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#list").filterToolbar({autosearch:true, searchOnEnter:false});<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //jQuery("#list").jqGrid(&#39;gridResize&#39;,{}) <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; });<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //jQuery("#list").dialog({ show: &#39;fade&#39;, hide: &#39;drop&#39; });&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#60;/script&#62;</p>
]]></description>
        	        	<pubDate>Wed, 27 Apr 2011 09:12:03 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on json not well-formed</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/json-not-well-formed#p22937</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/json-not-well-formed#p22937</guid>
        	        	<description><![CDATA[<p>Are you posted the <strong>request</strong> headers or do the headers of the server <strong>response</strong>?</p>
<p>Could you post the definition of the jqGrid which should be filled with the JSON data?</p>
<p>Regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Tue, 26 Apr 2011 15:56:04 +0300</pubDate>
        </item>
        <item>
        	<title>amarpol1305 on json not well-formed</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/json-not-well-formed#p22936</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/json-not-well-formed#p22936</guid>
        	        	<description><![CDATA[<blockquote>
<p>OlegK said:</p>
<p>You should not search for the "Content-Type" in any JavaScript file. You should be sure that the server use "Content-Type:&#160;application/json" in the HTTP header if it post the JSON data back (see <a href="http://www.ietf.org/rfc/rfc4627.txt" rel="nofollow" target="_blank">http://www.ietf.org/rfc/rfc4627.txt</a></p>
<tr class=" ">
<td class="netInfoParamName ">Content-Length</td>
<td class="netInfoParamValue ">
<p><input type='button' class='sfcodeselect' name='sfselectit8421' value='Select Code' data-codeid='sfcode8421' /></p>
<div class='sfcode' id='sfcode8421'>63</div>
</td>
</tr>
<tr class=" ">
<td class="netInfoParamName ">Cookie</td>
<td class="netInfoParamValue ">
<p><input type='button' class='sfcodeselect' name='sfselectit1308' value='Select Code' data-codeid='sfcode1308' /></p>
<div class='sfcode' id='sfcode1308'>JSESSIONID=5A6913247A4101183639D7BE72236799</div>
</td>
</tr>
</blockquote>
]]></description>
        	        	<pubDate>Tue, 26 Apr 2011 15:08:26 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on json not well-formed</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/json-not-well-formed#p22935</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/json-not-well-formed#p22935</guid>
        	        	<description><![CDATA[<p>You should not search for the "Content-Type" in any JavaScript file. You should be sure that the server use "Content-Type:&#160;application/json" in the HTTP header if it post the JSON data back (see <a href="http://www.ietf.org/rfc/rfc4627.txt" target="_blank">rfc4627</a>).</p>
<p>Regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Tue, 26 Apr 2011 14:59:20 +0300</pubDate>
        </item>
        <item>
        	<title>amarpol1305 on json not well-formed</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/json-not-well-formed#p22934</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/json-not-well-formed#p22934</guid>
        	        	<description><![CDATA[<blockquote>
<p>OlegK said:</p>
<p>Hello,</p>
<p>to be able to help you one need not have the JSON data only, but the definition of the jqGrid which you use. Then one could try to reproduce your problem. It can be also helpful if you catch the full server response inclusive HTTP headers and post it also. You can use <a href="http://www.fiddler2.com/fiddler2/" target="_blank">Fiddler</a> of <a href="http://getfirebug.com/" target="_blank">Firebug</a> to catch the server response. The most important part of the HTTP header are "Content-Type" (see my previous answer).</p>
<p>Best regards<br />Oleg&#160;</p>
</blockquote>
<hr />
<p>hello</p>
<p>I found</p>
</p>
<p>content-type:application/x-www-form-urlencoded in some files as</p>
<p>jquery.min.js, jquery-1.4.2.min.js</p>
<p>when i change this to application/json searching is also not working and dtil it shows error.</p></p>
]]></description>
        	        	<pubDate>Tue, 26 Apr 2011 14:46:46 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on json not well-formed</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/json-not-well-formed#p22933</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/json-not-well-formed#p22933</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>to be able to help you one need not have the JSON data only, but the definition of the jqGrid which you use. Then one could try to reproduce your problem. It can be also helpful if you catch the full server response inclusive HTTP headers and post it also. You can use <a href="http://www.fiddler2.com/fiddler2/" target="_blank">Fiddler</a> of <a href="http://getfirebug.com/" target="_blank">Firebug</a> to catch the server response. The most important part of the HTTP header are "Content-Type" (see my previous answer).</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Tue, 26 Apr 2011 14:12:33 +0300</pubDate>
        </item>
        <item>
        	<title>amarpol1305 on json not well-formed</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/json-not-well-formed#p22931</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/json-not-well-formed#p22931</guid>
        	        	<description><![CDATA[<blockquote>
<p>OlegK said:</p>
<p>I suppose, that the problem is not the JSON data which you posted, but how the data will be interpreted. Either because of wrong response HTTP headers of the server (Content-Type for example) or because of wrong jqGrid parameters (missing datatype:&#39;json&#39; parameter) <strong>the JSON data from the server will be interpret as wrong XML data</strong>.</p>
<p>Best regards<br />Oleg&#160;</p>
</blockquote>
<hr />
<p>Thank You,</p>
<p>I m using</p>
</p>
<p>url:&#39;accessReport&#60;%=url%&#62;&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;datatype: &#39;json&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ajaxGridOptions: { contentType: &#39;application/json; charset=utf-8&#39; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; mtype: &#39;POST&#39;,</p>
<p>but getting same error.</p>
]]></description>
        	        	<pubDate>Tue, 26 Apr 2011 13:15:19 +0300</pubDate>
        </item>
        <item>
        	<title>amarpol1305 on json not well-formed</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/json-not-well-formed#p22930</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/json-not-well-formed#p22930</guid>
        	        	<description><![CDATA[<blockquote>
<p>OlegK said:</p>
<p>I suppose, that the problem is not the JSON data which you posted, but how the data will be interpreted. Either because of wrong response HTTP headers of the server (Content-Type for example) or because of wrong jqGrid parameters (missing datatype:&#39;json&#39; parameter) <strong>the JSON data from the server will be interpret as wrong XML data</strong>.</p>
<p>Best regards<br />Oleg&#160;</p>
</blockquote>
<hr />
<p>Thank You,</p>
<p>I m using</p>
</p>
<p>url:&#39;accessReport&#60;%=url%&#62;&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;datatype: &#39;json&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ajaxGridOptions: { contentType: &#39;application/json; charset=utf-8&#39; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; mtype: &#39;POST&#39;,</p>
<p>but getting same error.</p>
]]></description>
        	        	<pubDate>Tue, 26 Apr 2011 13:15:16 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on json not well-formed</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/json-not-well-formed#p22833</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/json-not-well-formed#p22833</guid>
        	        	<description><![CDATA[<p>I suppose, that the problem is not the JSON data which you posted, but how the data will be interpreted. Either because of wrong response HTTP headers of the server (Content-Type for example) or because of wrong jqGrid parameters (missing datatype:&#39;json&#39; parameter) <strong>the JSON data from the server will be interpret as wrong XML data</strong>.</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Mon, 18 Apr 2011 16:23:16 +0300</pubDate>
        </item>
        <item>
        	<title>amarpol1305 on json not well-formed</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/json-not-well-formed#p22830</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/json-not-well-formed#p22830</guid>
        	        	<description><![CDATA[<p>hello,</p>
<p>i m using jqgrid with json and created following joson object, something is wrong here , firefox shows error <strong>not well-formed</strong></p>
</p>
<p>{"total":1,"page":1,"records":"6","rows":[{"id":6,"cell":[6,"s ssds s","casual leave sanctioned","Ajay shivaji Pol","2011-04-18","aproved"]},{"id":5,"cell":[5,"Ajay shivaji Pol","Log Out update","Ajay shivaji Pol","2011-04-18","Forgot Logout"]},{"id":4,"cell":[4,"Ajay shivaji Pol","Employee Edited","Gajanan&#160; k Kumbhar","2011-04-18","No Reason"]},{"id":3,"cell":[3,"Ajay shivaji Pol","blocked","main gate Device","2011-04-12","test"]},{"id":2,"cell":[2,"Ajay shivaji Pol","Employee Deleted","vcxv cxvcx vxcv","2011-04-12","No Reason"]},{"id":1,"cell":[1,"Ajay shivaji Pol","Employee Deleted","cs cs cs","2011-04-12","No Reason"]}]}</p>
</p>
<p>Is any one know the solution for this.</p>
<p>Thank you.</p>
]]></description>
        	        	<pubDate>Mon, 18 Apr 2011 13:21:14 +0300</pubDate>
        </item>
</channel>
</rss>