<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>IMA EricSun&#039;s Blog</title>
	<atom:link href="http://imaeric.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://imaeric.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Tue, 28 Dec 2010 01:17:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='imaeric.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/207c0be2cd73851b682714c1055e4e32?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>IMA EricSun&#039;s Blog</title>
		<link>http://imaeric.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://imaeric.wordpress.com/osd.xml" title="IMA EricSun&#039;s Blog" />
	<atom:link rel='hub' href='http://imaeric.wordpress.com/?pushpress=hub'/>
		<item>
		<title>JQuery Ajax Functions</title>
		<link>http://imaeric.wordpress.com/2010/12/27/jquery-ajax-functions/</link>
		<comments>http://imaeric.wordpress.com/2010/12/27/jquery-ajax-functions/#comments</comments>
		<pubDate>Tue, 28 Dec 2010 00:21:24 +0000</pubDate>
		<dc:creator>Eric Sun</dc:creator>
				<category><![CDATA[Web Tech]]></category>

		<guid isPermaLink="false">http://imaeric.wordpress.com/?p=250</guid>
		<description><![CDATA[To use the jQuery post() function to send and receive data. A simple post() function looks like this: $.post( url, data, success()) Here are the parts of the post() function: $.post: Begin the function. url: Contains the path to the file on the Web server to which you want to send data. For example, the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=imaeric.wordpress.com&amp;blog=9419716&amp;post=250&amp;subd=imaeric&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>To use the jQuery post() function to send and receive data. </h2>
<p>A simple post() function looks like this:</p>
<h3>$.post( url, data, success())</h3>
<p>Here are the parts of the post() function:</p>
<ul>
<li>$.post: Begin the function.</li>
<li>url: Contains the path to the file on the Web server to which you want to send data. For example, the path might be to a PHP file that will e-mail form data to you when a visitor submits it.</li>
<li>data: Contains the data you want to send to the Web server. The information a visitor enters into a Web form, such as name and e-mail address, can be part of the data element.</li>
<li>success: Contains code that executes if the data was sent to the url successfully. For example, the code in the success() function can send a message to the person who filled out the form, letting him or her know the form was sent.</li>
</ul>
<h3>Using other AJAX functions:</h3>
<p>✓ ajax(): Performs an AJAX request. This function can send and receive data from the Web server using either GET or POST.<br />
✓ ajaxComplete(): Contains code to be executed when an AJAX request is completed.<br />
✓ ajaxError():Containscodetobeexecuted if an AJAX request causes an error.<br />
✓ ajaxSend(): Contains code to be executed before an AJAX request is sent.<br />
✓ ajaxStart(): Contains code to be executed when an AJAX request begins.<br />
✓ ajaxStop(): Contains code to be executed after all AJAX requests have stopped.<br />
✓ ajaxSuccess(): Contains code to be executed when an AJAX request com- pletes successfully.<br />
✓ get(): Performs an AJAX request. This function can send and receive data from the Web server using GET.<br />
✓ getScript(): Loads a JavaScript file from the Web server.<br />
✓ load(): Loads data from the Web. For example, load data from a text file or HTML file. As in the first example in this chapter, the loaded data can be displayed inside an element on the current page.<br />
✓ post(): Performs an AJAX request. This function can send and receive data from the Web server using POST.<br />
✓ serialize(): Grabs the values from a Web form and turn them into a single string of data to send using get(), post(), or ajax() function.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/imaeric.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/imaeric.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/imaeric.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/imaeric.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/imaeric.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/imaeric.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/imaeric.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/imaeric.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/imaeric.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/imaeric.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/imaeric.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/imaeric.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/imaeric.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/imaeric.wordpress.com/250/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=imaeric.wordpress.com&amp;blog=9419716&amp;post=250&amp;subd=imaeric&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://imaeric.wordpress.com/2010/12/27/jquery-ajax-functions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7e55af893cee7888efaf54eff4d8b567?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sweien</media:title>
		</media:content>
	</item>
	</channel>
</rss>
