<?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>codetheora</title>
	<atom:link href="http://codetheora.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://codetheora.wordpress.com</link>
	<description>Benji'N'Tech</description>
	<lastBuildDate>Wed, 12 Dec 2007 22:34:58 +0000</lastBuildDate>
	<language>es</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='codetheora.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>codetheora</title>
		<link>http://codetheora.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://codetheora.wordpress.com/osd.xml" title="codetheora" />
	<atom:link rel='hub' href='http://codetheora.wordpress.com/?pushpress=hub'/>
		<item>
		<title>AJAX con JQuery</title>
		<link>http://codetheora.wordpress.com/2007/12/12/ajax-con-jquery/</link>
		<comments>http://codetheora.wordpress.com/2007/12/12/ajax-con-jquery/#comments</comments>
		<pubDate>Wed, 12 Dec 2007 22:33:24 +0000</pubDate>
		<dc:creator>benoror</dc:creator>
				<category><![CDATA[ajax]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://codetheora.wordpress.com/2007/12/12/ajax-con-jquery/</guid>
		<description><![CDATA[JQuery nos da los metodos $.ajax, $.post y $get para manejar peticiones AJAX. Los dos últimos son derivados de $.ajax, con una interfaz mas simple. $.ajax es el más completo y nos permite manipular la petición a nuestro antojo como muestro a continuación: function openAjax(url, data) { $.ajax({ type: "POST", url: url, data: data, beforeSend: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codetheora.wordpress.com&amp;blog=599689&amp;post=3&amp;subd=codetheora&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://jquery.com/">JQuery</a> nos da los metodos <a href="http://docs.jquery.com/Ajax">$.ajax</a>, <a href="http://docs.jquery.com/Ajax/jQuery.post">$.post</a> y <a href="http://docs.jquery.com/Ajax/jQuery.get">$get</a> para manejar peticiones <a href="http://es.wikipedia.org/wiki/AJAX">AJAX</a>. Los dos últimos son derivados de <a href="http://docs.jquery.com/Ajax">$.ajax</a>, con una interfaz mas simple. <a href="http://docs.jquery.com/Ajax">$.ajax</a> es el más completo y nos permite manipular la petición a nuestro antojo como muestro a continuación:</p>
<p><code><br />
function openAjax(url, data) {<br />
	$.ajax({<br />
		type: "POST",<br />
		url: url,<br />
		data: data,<br />
		beforeSend: function() {<br />
			$('#ajax').hide();<br />
			$('#ajax').html('');<br />
			$('#ajax_loading').fadeIn('slow');<br />
		},<br />
		success: function(callback) {<br />
			$('#ajax').html(callback);<br />
		},<br />
		complete: function() {<br />
			$('#ajax_loading').hide();<br />
			$('#ajax').fadeIn('slow');<br />
		},<br />
		error: function() {<br />
			$('#ajax').html('Ajax ERROR.');<br />
		}<br />
	});<br />
}<br />
</code></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/codetheora.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/codetheora.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codetheora.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codetheora.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codetheora.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codetheora.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codetheora.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codetheora.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codetheora.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codetheora.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codetheora.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codetheora.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codetheora.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codetheora.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codetheora.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codetheora.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codetheora.wordpress.com&amp;blog=599689&amp;post=3&amp;subd=codetheora&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codetheora.wordpress.com/2007/12/12/ajax-con-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2dcb83d8b5232e23cebc4dc3832e0b82?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">codetheora</media:title>
		</media:content>
	</item>
	</channel>
</rss>
