<?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: Delete Form is not going away after adding  afterSubmit  function</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/delete-form-is-not-going-away-after-adding-aftersubmit-function</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/delete-form-is-not-going-away-after-adding-aftersubmit-function/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>thesee on Delete Form is not going away after adding  afterSubmit  function</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/delete-form-is-not-going-away-after-adding-aftersubmit-function#p4496</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/delete-form-is-not-going-away-after-adding-aftersubmit-function#p4496</guid>
        	        	<description><![CDATA[<p>Hi Tony, thank you for reply.</p>
<p>I&#39;m and idiot, i was putting an if conditions with =&#160;</p>
<p>if (a = b) ....should be if (a == b)</p>
<p>Sorry for waste your time 😉</p>
<p>Have a nice day 🙂</p></p>
]]></description>
        	        	<pubDate>Sat, 07 Feb 2009 05:55:54 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Delete Form is not going away after adding  afterSubmit  function</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/delete-form-is-not-going-away-after-adding-aftersubmit-function#p4443</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/delete-form-is-not-going-away-after-adding-aftersubmit-function#p4443</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I think that the problem is fixed. What return your afterSubmit event?</p>
<p>Check your code. Also make a simple test:</p>
<p>afterSubmit : function (data, postdata){</p>
<p>return [false,"I return false"];</p>
<p>}</p>
<p>and then</p>
<p>afterSubmit : function (data, postdata){</p>
<p>return [true,""];</p>
<p>}</p>
<p>I think hat the common problem here is how you interpred data, usually you should do</p>
<p>data.resoponseText</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 06 Feb 2009 02:57:49 +0200</pubDate>
        </item>
        <item>
        	<title>thesee on Delete Form is not going away after adding  afterSubmit  function</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/delete-form-is-not-going-away-after-adding-aftersubmit-function#p4424</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/delete-form-is-not-going-away-after-adding-aftersubmit-function#p4424</guid>
        	        	<description><![CDATA[<p>Hello, any news about this issue?</p>
<p>I&#39;m using last beta versione and seems the problem is not solved.</p>
<p>If I&#39;ll fire the afterSubmit function the dialog doesn&#39;t disappear.</p>
<p>Any advice to close it is really appreciated 😉</p>
</p>
<p>Thank you in advance 🙂</p>
]]></description>
        	        	<pubDate>Thu, 05 Feb 2009 12:37:52 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Delete Form is not going away after adding  afterSubmit  function</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/delete-form-is-not-going-away-after-adding-aftersubmit-function#p3339</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/delete-form-is-not-going-away-after-adding-aftersubmit-function#p3339</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thank you. If I look deep into the code this is common problem.</p>
<p>Will fix as soon as possible.</p>
<p>Thank you again.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 28 Nov 2008 02:27:16 +0200</pubDate>
        </item>
        <item>
        	<title>-Matt- on Delete Form is not going away after adding  afterSubmit  function</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/delete-form-is-not-going-away-after-adding-aftersubmit-function#p3334</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/delete-form-is-not-going-away-after-adding-aftersubmit-function#p3334</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>No I just return true;</p>
<p>If it false then the submit button just greys out and is available to click.</p>
</p>
<p>When you reopen the form the submit is still greyed out.&#160; So I return true</p>
<p>and it solves this issue.&#160; But the issue of the form not closing still exists.</p>
<p>I have done a work around by using onSubmitClick and some work</p>
<p>arounds to solve my issue with post edits and grid refreshes.</p>
</p>
<p>M.</p>
]]></description>
        	        	<pubDate>Thu, 27 Nov 2008 15:04:31 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Delete Form is not going away after adding  afterSubmit  function</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/delete-form-is-not-going-away-after-adding-aftersubmit-function#p3328</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/delete-form-is-not-going-away-after-adding-aftersubmit-function#p3328</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>How look afterSubmit?</p>
<p>Does this event (function) return the needed array something like</p>
<p>afterSubmit : function(a,b) {</p>
<p>....</p>
<p>return [true,""];</p>
<p>}</p></p>
]]></description>
        	        	<pubDate>Thu, 27 Nov 2008 11:52:19 +0200</pubDate>
        </item>
        <item>
        	<title>-Matt- on Delete Form is not going away after adding  afterSubmit  function</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/delete-form-is-not-going-away-after-adding-aftersubmit-function#p3326</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/delete-form-is-not-going-away-after-adding-aftersubmit-function#p3326</guid>
        	        	<description><![CDATA[<p>Just to add</p>
<p>Is there a way you can force a form close within the afterSubmit to solve the problem.</p>
</p>
<p>I also make sure I use return true; in the function otherwise the form</p>
<p>hangs.</p>
</p>
<p>Matt.</p>
]]></description>
        	        	<pubDate>Thu, 27 Nov 2008 10:36:47 +0200</pubDate>
        </item>
        <item>
        	<title>-Matt- on Delete Form is not going away after adding  afterSubmit  function</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/delete-form-is-not-going-away-after-adding-aftersubmit-function#p3325</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/delete-form-is-not-going-away-after-adding-aftersubmit-function#p3325</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>I am experiencing the same problem.&#160; I have a delete form with the afterSubmit function to run a grid reload on another grid.&#160;</p>
<p>The actions happen on the database side fine but the form stays open after the submit is clicked.</p>
<p>Matt.</p></p>
]]></description>
        	        	<pubDate>Thu, 27 Nov 2008 10:34:56 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Delete Form is not going away after adding  afterSubmit  function</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/delete-form-is-not-going-away-after-adding-aftersubmit-function#p3307</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/delete-form-is-not-going-away-after-adding-aftersubmit-function#p3307</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>The form is closed automatically after every click of submit or cancel</p>
<p>button. This is standart behavior or I missed something?</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 27 Nov 2008 03:14:13 +0200</pubDate>
        </item>
        <item>
        	<title>diptendu on Delete Form is not going away after adding  afterSubmit  function</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/delete-form-is-not-going-away-after-adding-aftersubmit-function#p3290</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/delete-form-is-not-going-away-after-adding-aftersubmit-function#p3290</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>The Delete form usually goes away when a user confirms deletion.</p>
<p>However, ever since we have added an afterSubmit function</p>
<p>the form refuses to go away.</p>
<p>What could be the reason?</p>
</p>
<p>Regards,</p>
<p>Diptendu</p>
]]></description>
        	        	<pubDate>Wed, 26 Nov 2008 07:19:07 +0200</pubDate>
        </item>
</channel>
</rss>