<?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: jQuery.post()</title>
	<atom:link href="http://api.jquery.com/jQuery.post/feed/" rel="self" type="application/rss+xml" />
	<link>http://api.jquery.com/jQuery.post/</link>
	<description>jQuery API Reference</description>
	<lastBuildDate>Sun, 14 Mar 2010 01:52:51 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: shoumith</title>
		<link>http://api.jquery.com/jQuery.post/comment-page-1/#comment-1633</link>
		<dc:creator>shoumith</dc:creator>
		<pubDate>Fri, 12 Mar 2010 16:52:32 +0000</pubDate>
		<guid isPermaLink="false">http://api.jquery.com/?p=312#comment-1633</guid>
		<description>I am trying to post the content to my controller (ASP.NET MVC) from the scriptbut my serialize does not seem to work . Could anyone please help on this. Here is my code&lt;br&gt;&lt;br&gt;$(document).ready(function() { setTimeout(function() { questions(); }, 10000) });&lt;br&gt;&lt;br&gt;function questions() {&lt;br&gt;    var pg = $(&quot;#questions&quot;);&lt;br&gt;    var action = pg[0].all[0].action; // I could not get the data using pg.attr(&quot;action&quot;) so i used this&lt;br&gt;    var serializedForm = pg.serialize(); // doesnot contain anything&lt;br&gt;    $.post(action, serializedForm,&lt;br&gt;                   function() {&lt;br&gt;                       alert();&lt;br&gt;                   });&lt;br&gt;}&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;Shoumith</description>
		<content:encoded><![CDATA[<p>I am trying to post the content to my controller (ASP.NET MVC) from the scriptbut my serialize does not seem to work . Could anyone please help on this. Here is my code</p>
<p>$(document).ready(function() { setTimeout(function() { questions(); }, 10000) });</p>
<p>function questions() {<br />    var pg = $(&#8220;#questions&#8221;);<br />    var action = pg[0].all[0].action; // I could not get the data using pg.attr(&#8220;action&#8221;) so i used this<br />    var serializedForm = pg.serialize(); // doesnot contain anything<br />    $.post(action, serializedForm,<br />                   function() {<br />                       alert();<br />                   });<br />}</p>
<p>Thanks,<br />Shoumith</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rafael Pólit</title>
		<link>http://api.jquery.com/jQuery.post/comment-page-1/#comment-787</link>
		<dc:creator>Rafael Pólit</dc:creator>
		<pubDate>Fri, 05 Feb 2010 00:10:15 +0000</pubDate>
		<guid isPermaLink="false">http://api.jquery.com/?p=312#comment-787</guid>
		<description>I have found that using syntax as in the example&#039;s:&lt;br&gt;$.post(&quot;test.php&quot;, { name: &quot;John&quot;, time: &quot;2pm&quot; } );&lt;br&gt;&lt;br&gt;Yields an error on IE and Chrome (though Firefox understands it perfectly).  To correct this issue, both the data&#039;s name and value need to be within quotes:&lt;br&gt;$.post(&quot;test.php&quot;, { &quot;name&quot;: &quot;John&quot;, &quot;time&quot;: &quot;2pm&quot; } );&lt;br&gt;&lt;br&gt;Can someone confirm this is an issue with the documentation or am I overlooking something?&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;Rafa.</description>
		<content:encoded><![CDATA[<p>I have found that using syntax as in the example&#39;s:<br />$.post(&#8220;test.php&#8221;, { name: &#8220;John&#8221;, time: &#8220;2pm&#8221; } );</p>
<p>Yields an error on IE and Chrome (though Firefox understands it perfectly).  To correct this issue, both the data&#39;s name and value need to be within quotes:<br />$.post(&#8220;test.php&#8221;, { &#8220;name&#8221;: &#8220;John&#8221;, &#8220;time&#8221;: &#8220;2pm&#8221; } );</p>
<p>Can someone confirm this is an issue with the documentation or am I overlooking something?</p>
<p>Thanks,<br />Rafa.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
