<?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/"
	>

<channel>
	<title>iuttu &#187; javascript</title>
	<atom:link href="http://www.iuttu.com/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.iuttu.com</link>
	<description>Desarrollo web</description>
	<lastBuildDate>Thu, 22 Jul 2010 11:58:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>De Mootools a jQuery: comprobar si un elemento existe</title>
		<link>http://www.iuttu.com/2009/03/de-mootools-a-jquery-comprobar-si-un-elemento-existe/</link>
		<comments>http://www.iuttu.com/2009/03/de-mootools-a-jquery-comprobar-si-un-elemento-existe/#comments</comments>
		<pubDate>Sun, 15 Mar 2009 11:26:01 +0000</pubDate>
		<dc:creator>iuttu</dc:creator>
				<category><![CDATA[Programación]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[dojo]]></category>
		<category><![CDATA[frameworks]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[mootools]]></category>

		<guid isPermaLink="false">http://blog.iuttu.com/?p=190</guid>
		<description><![CDATA[Para los que estamos acostumbrados a mootools, nos es habitual comprobar si un elemento (tag html con id) existe antes de lanzar los scripts, siempre lo hacemos de la misma manera:

1
if &#40;$&#40;&#34;elemento&#34;&#41;&#41; &#123; alert&#40;&#34;adelaaaaaaaanteee&#34;&#41;;  &#125;

Pero si pasamos a jQuery, vemos que si lo hacemos así, la expresión siempre devolverá cierto. Ya que la función [...]]]></description>
		<wfw:commentRss>http://www.iuttu.com/2009/03/de-mootools-a-jquery-comprobar-si-un-elemento-existe/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Reproductor mp3 controlado con javascript</title>
		<link>http://www.iuttu.com/2008/12/reproductor-mp3-controlado-con-javascript/</link>
		<comments>http://www.iuttu.com/2008/12/reproductor-mp3-controlado-con-javascript/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 08:21:33 +0000</pubDate>
		<dc:creator>iuttu</dc:creator>
				<category><![CDATA[Programación]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://blog.iuttu.com/?p=102</guid>
		<description><![CDATA[Para un proyecto reciente tenía la necesidad de reproducir archivos mp3 desde un listado de canciones. La red está llena de javascripts en flash para reproducir mp3s externos, pero no llegué a encontrar alguno que además de poder cargar mp3s te diese la posibilidad de pausar las canciones.

Partimos de la página html:

1
2
3
4
5
6
7
8
9
10
11
&#60;html xmlns=&#34;http://www.w3.org/1999/xhtml&#34; xml:lang=&#34;es-ES&#34; lang=&#34;es-ES&#34;&#62;
&#60;head&#62;
&#60;/head&#62;
&#60;body&#62;
&#60;!-- [...]]]></description>
		<wfw:commentRss>http://www.iuttu.com/2008/12/reproductor-mp3-controlado-con-javascript/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Cambiar evento onChange de un select con mootools</title>
		<link>http://www.iuttu.com/2008/10/cambiar-evento-onchange-de-un-select-con-mootools/</link>
		<comments>http://www.iuttu.com/2008/10/cambiar-evento-onchange-de-un-select-con-mootools/#comments</comments>
		<pubDate>Wed, 08 Oct 2008 19:23:48 +0000</pubDate>
		<dc:creator>iuttu</dc:creator>
				<category><![CDATA[Programación]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[mootools]]></category>

		<guid isPermaLink="false">http://blog.iuttu.com/?p=47</guid>
		<description><![CDATA[En un proyecto reciente, tenímos la necesidad de que, dependiendo de X factores, la función a la que llamase el evento onChange de varios combos Select debía ir cambiando:

1
2
3
4
&#60;select id=&#34;slSelect&#34; onchange=&#34;alert(1)&#34;&#62;
&#60;option value=&#34;1&#34;&#62;hola&#60;/option&#62;
&#60;option value=&#34;2&#34;&#62;que tal&#60;/option&#62;
&#60;/select&#62;

En mootools, tenemos varias funciones para eliminar eventos de objetos: $(element).removeEvent() y $(element).removeEvents(), pero, misteriosamente, no tienen ningún efecto cuando se aplica [...]]]></description>
		<wfw:commentRss>http://www.iuttu.com/2008/10/cambiar-evento-onchange-de-un-select-con-mootools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
