<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->
<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"
>
	<channel>
		<title>Dudas de Programacion &#187; Tag: jQuery - Recent Topics</title>
		<link>http://www.dudasprogramacion.com/tags/jquery</link>
		<description>Dudas sobre lenguajes y apis de programación</description>
		<language>en-US</language>
		<pubDate>Tue, 07 Feb 2012 22:41:06 +0000</pubDate>
		<generator>bbpress 1.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.dudasprogramacion.com/search.php</link>
		</textInput>
		<atom:link href="http://www.dudasprogramacion.com/rss/tags/jquery/topics" rel="self" type="application/rss+xml" />

		<item>
			<title>santy.uy on "jQuery.Get error"</title>
			<link>http://www.dudasprogramacion.com/topic/jqueryget-error#post-1000</link>
			<pubDate>Wed, 30 Nov 2011 11:40:32 +0000</pubDate>
			<dc:creator>santy.uy</dc:creator>
			<guid isPermaLink="false">1000@http://www.dudasprogramacion.com/</guid>
			<description><p>Hola, como estan?</p>
<p>Estoy desarrollando una palicación en HTML5 con jQuery, usando Sync Framework para la sincronización, el cual consume un servicio que esta alojado en la en Windows Azure. </p>
<p>El problema esta cuando envio el Request al dicho servicio:</p>
<pre class="lenguaje" style="font-family:monospace;">&nbsp;
var data;
        jQuery.get(serviceUri, {},
            function (data) {
                console.log(&quot; reponse :&quot; + data);
            }
       , &quot;json&quot;);
&nbsp;</pre>
<p>El Request es el siguiente:</p>
<pre class="lenguaje" style="font-family:monospace;">&nbsp;
GET &lt;a href=&quot;http://157.56.8.203/DefaultScopeSyncService.svc/defaultscope/DownloadChanges?id=7AE7C771-0A98-4A5D-A046-430DDB0A7917&quot; rel=&quot;nofollow&quot;&gt;http://157.56.8.203/DefaultScopeSyncService.svc/defaultscope/DownloadChanges?id=7AE7C771-0A98-4A5D-A046-430DDB0A7917&lt;/a&gt; HTTP/1.1
Host: 157.56.8.203
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0
Accept: application/json, text/javascript, */*
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Connection: keep-alive
Referer: &lt;a href=&quot;http://localhost:49427/ListSample.htm&quot; rel=&quot;nofollow&quot;&gt;http://localhost:49427/ListSample.htm&lt;/a&gt;
Origin: &lt;a href=&quot;http://localhost:49427&quot; rel=&quot;nofollow&quot;&gt;http://localhost:49427&lt;/a&gt;
&nbsp;</pre>
<p>Y la respuesta del servicio esta:</p>
<pre class="lenguaje" style="font-family:monospace;">&nbsp;
HTTP/1.1 200 OK
Content-Length: 1388
Content-Type: application/json
Server: Microsoft-IIS/7.0
SyncServiceVersion: 1.0
X-Powered-By: ASP.NET
Date: Wed, 30 Nov 2011 11:34:55 GMT
&nbsp;
{&quot;d&quot;:{&quot;__sync&quot;:{&quot;moreChangesAvailable&quot;:false,&quot;serverBlob&quot;:&quot;AAEAAAD\/\/\/\/\/AQAAAAAAAAAMAgAAAGVNaWNyb3NvZnQuU3luY2hyb25pemF0aW9uLlNlcnZpY2VzLCBWZXJzaW9uPTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49ODk4NDVkY2Q4MDgwY2M5MQUBAAAAK01pY3Jvc29mdC5TeW5jaHJvbml6YXRpb24uU2VydmljZXMuU3luY0Jsb2IFAAAAIDxDbGllbnRLbm93bGVkZ2U+a19fQmFja2luZ0ZpZWxkIDxDbGllbnRTY29wZU5hbWU+a19fQmFja2luZ0ZpZWxkHDxJc0xhc3RCYXRjaD5rX19CYWNraW5nRmllbGQaPEJhdGNoQ29kZT5rX19CYWNraW5nRmllbGQaPE5leHRCYXRjaD5rX19CYWNraW5nRmllbGQHAQADAwIBbVN5c3RlbS5OdWxsYWJsZWAxW1tTeXN0ZW0uR3VpZCwgbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5XV1tU3lzdGVtLk51bGxhYmxlYDFbW1N5c3RlbS5HdWlkLCBtc2NvcmxpYiwgVmVyc2lvbj00LjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODldXQIAAAAJAwAAAAYEAAAAJGM3NjM2YTlmLTBhOTYtNDJhOC04ZDgxLTBhNDE5NTJmOTUyYgEKCg8DAAAAkAAAAAIAAAAFAAAAAAAAAAEAAAAAAAAABQAAEAAAAALHY2qfCpZCqI2BCkGVL5UrebAhJqekSVCrBoALPwfgsQAAABgAABABKAIAAAEAAAAVAAAAAgAAAAEAAAAAAAAAAQAAAAEAAAABAAAAAAAAAQ0AAAAXAAAAAQAAABYAAAABAAMAAAAAAQAAAAAAAAAZAQAAAAAL&quot;},&quot;results&quot;:[{&quot;Id&quot;:&quot;7ae7c771-0a98-4a5d-a046-430ddb0a7917&quot;,&quot;Name&quot;:&quot;Santiago&quot;,&quot;Surname&quot;:&quot;Dalto&quot;,&quot;BirthDate&quot;:&quot;\/Date(917913600000)\/&quot;,&quot;Gender&quot;:&quot;M&quot;,&quot;__metadata&quot;:{&quot;uri&quot;:&quot;http:\/\/157.56.8.203\/DefaultScopeSyncService.svc\/Persons(Id=guid'7ae7c771-0a98-4a5d-a046-430ddb0a7917')&quot;,&quot;type&quot;:&quot;DefaultScope.Persons&quot;}}]}}
&nbsp;</pre>
<p>El problema es que el objeto data del script es siempre null, sin embargo el servicio retorna bien el resultado. Alguien sabe que me puede estar pasando?</p>
<p>Saludos y muchas gracias!
</p></description>
		</item>
		<item>
			<title>erix_on on "¿Como integrar un plugin jquery a woordpress?"</title>
			<link>http://www.dudasprogramacion.com/topic/%c2%bfcomo-integrar-un-plugin-jquery-a-woordpress#post-975</link>
			<pubDate>Sat, 08 Oct 2011 16:52:20 +0000</pubDate>
			<dc:creator>erix_on</dc:creator>
			<guid isPermaLink="false">975@http://www.dudasprogramacion.com/</guid>
			<description><p>Saludos a Todos</p>
<p>Soy nuevo en este foro de hecho no se porgramar, es por eso que estoy buscando ayuda para lo siguiente, tengo este plugin jquery <a href="http://1.s3.envato.com/files/6525921/index.html" rel="nofollow">http://1.s3.envato.com/files/6525921/index.html</a> que es un slider de imagenes con efectos en el texto, realmente lo que me interesa son los efectos del texto, ponerlos sobre las imagenes, la situacion es que solo se un poco de HTML Y pense en que tal ves este plugin se pudiera intregrar a wordpress pues yo trabajo bajo wordpress, tal vez usando algo de HTML o no se, quisera que me ayudaran a integrar este plugin a wordpress, Muchas gracias por su ayuda y hasta pronto.
</p></description>
		</item>
		<item>
			<title>MatSumeri on "Al cerrar dialog que ejecute el action del form"</title>
			<link>http://www.dudasprogramacion.com/topic/al-cerrar-dialog-que-ejecute-el-action-del-form#post-965</link>
			<pubDate>Thu, 22 Sep 2011 17:56:49 +0000</pubDate>
			<dc:creator>MatSumeri</dc:creator>
			<guid isPermaLink="false">965@http://www.dudasprogramacion.com/</guid>
			<description><p>Tengo un form con un data picker, al llenar con las fechas se me habilita un boton de tipo submit el cual pasa por metodo post las fechas a otro form.</p>
<p>La gracia es que cuando le doy click al boton me muestra un dialogo de lo que se procedera a hacer, el tema es que cuando cierro el dialogo la idea es que haga la accion del form, como puedo lograr esto?</p>
<p>Este es mi dialogo</p>
<pre class="lenguaje" style="font-family:monospace;">&nbsp;
&amp;#60;script&amp;#62;
	$(function() {
		$( &quot;#dialog&quot; ).dialog({
			modal: true,
			autoOpen: false,
			closeOnEscape: false,
			show: &quot;fold&quot;,
			hide: &quot;explode&quot;
		});
		$( &quot;#inyecta&quot; ).click(function() {
			$( &quot;#dialog&quot; ).dialog( &quot;open&quot; );
			return false;
		});
	});
&amp;#60;/script&amp;#62;
&nbsp;</pre>
<p>Saludos
</p></description>
		</item>
		<item>
			<title>v2r3 on "Como acer menu acordeon de 2 niveles??"</title>
			<link>http://www.dudasprogramacion.com/topic/como-acer-menu-acordeon-de-2-niveles#post-963</link>
			<pubDate>Fri, 09 Sep 2011 21:49:19 +0000</pubDate>
			<dc:creator>v2r3</dc:creator>
			<guid isPermaLink="false">963@http://www.dudasprogramacion.com/</guid>
			<description><p>hola, bueno soy nuevo por aca, les cuento rapdio que necesito.<br />
estoy desarrollando en php y he integrado a mi codigo jquery por lo dinamico que este se ve.<br />
Bueno necesito implementar un menu Acordeon como en este ejemplo <a href="http://vagabundia.blogspot.com/2011/02/acordeones-simples-con-jquery.html" rel="nofollow">http://vagabundia.blogspot.com/2011/02/acordeones-simples-con-jquery.html</a><br />
pero necesito que en la opcion 1 aparesca otro menu con 2 opciones mas, lo logro meter pero al momento de dar click en el primer submenu me cierra el menu principal.</p>
<p>como puedo hacerlo?<br />
espero puedan ayudarme<br />
gracias y salu2
</p></description>
		</item>
		<item>
			<title>admin on "Bienvenidos al foro jQuery"</title>
			<link>http://www.dudasprogramacion.com/topic/bienvenidos-al-foro-jquery#post-6</link>
			<pubDate>Tue, 03 Mar 2009 22:55:43 +0000</pubDate>
			<dc:creator>admin</dc:creator>
			<guid isPermaLink="false">6@http://www.dudasprogramacion.com/</guid>
			<description><p>Daros la bienvenida al foro sobre dudas con la librería jQuery.
</p></description>
		</item>
		<item>
			<title>ejpprovoste on "Galería Jquery: Necesito minimizar su tamaño y no puedo."</title>
			<link>http://www.dudasprogramacion.com/topic/galeria-jquery-necesito-minimizar-su-tamano-y-no-puedo#post-960</link>
			<pubDate>Wed, 31 Aug 2011 13:23:19 +0000</pubDate>
			<dc:creator>ejpprovoste</dc:creator>
			<guid isPermaLink="false">960@http://www.dudasprogramacion.com/</guid>
			<description><p>Hola,</p>
<p>estimados, buscando una solución a mi problema, he llegado aquí. Éste es mi primer post y espero poder recibir su ayuda, estimados (as) amigos (as).</p>
<p>Tengo una galería Jquery dentro de una ventana html y necesito achicar el tamaño de la galería completa para poder achicar, al mismo tiempo, el fondo (en este caso un jpg de prueba) del html.</p>
<p>La galería está en la siguiente url: <a href="http://www.marketingylogistica.cl/ethos" rel="nofollow">http://www.marketingylogistica.cl/ethos</a>
</p></description>
		</item>
		<item>
			<title>diamardan on "¿como puedo Regresar 2 json con jquery?"</title>
			<link>http://www.dudasprogramacion.com/topic/%c2%bfcomo-puedo-regresar-2-json-con-jquery#post-957</link>
			<pubDate>Wed, 24 Aug 2011 05:11:05 +0000</pubDate>
			<dc:creator>diamardan</dc:creator>
			<guid isPermaLink="false">957@http://www.dudasprogramacion.com/</guid>
			<description><p>amigos soy nuevo en tanto en el foro como en la programación y tengo una simple pregunta<br />
estoy usando la lireria jquery para un proyecto escolar pido a mysql datos y filtro en php pero no se como regresar 2 json, miren les dejo el código aqui abajo</p>
<pre class="php" style="font-family:monospace;">Código Fuente
<span style="color: #339933;">&amp;</span><span style="color: #666666; font-style: italic;">#60;?php
</span><span style="color: #b1b100;">include</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'../conexion.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$ID</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'dato'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//Esta variable la mande desde el jquery hasta aqui todo va bien</span>
&nbsp;
<span style="color: #000088;">$rA</span>ños <span style="color: #339933;">=</span> <a href="http://www.php.net/mysql_query"><span style="color: #990000;">mysql_query</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;select Fecha from facturas where empresas_ID_Empresa = <span style="color: #000099; font-weight: bold;">\&quot;</span><span style="color: #006699; font-weight: bold;">$ID</span><span style="color: #000099; font-weight: bold;">\&quot;</span> ORDER BY Fecha ASC&quot;</span><span style="color: #339933;">,</span><span style="color: #000088;">$conexion</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">/* Este código es para buscar solo las fechas y filtrar ya que quiero solo años sin mes ni dia*/</span>
<span style="color: #000088;">$a</span>ños2<span style="color: #339933;">=</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">/*Inicializo una variable para despues evaluar otra */</span>
&nbsp;
<span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$rowA</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/mysql_fetch_array"><span style="color: #990000;">mysql_fetch_array</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$rA</span>ños<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #000088;">$a</span>ños <span style="color: #339933;">=</span> <a href="http://www.php.net/explode"><span style="color: #990000;">explode</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;-&quot;</span><span style="color: #339933;">,</span><span style="color: #000088;">$rowA</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Fecha'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$a</span>ño <span style="color: #339933;">=</span> <span style="color: #000088;">$a</span>ños<span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$a</span>ño <span style="color: #339933;">!=</span> <span style="color: #000088;">$a</span>ños2<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> <span style="color: #666666; font-style: italic;">/* el año es diferente a 0 en la primera vez */</span>
		<span style="color: #000088;">$year</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;year&quot;</span> <span style="color: #339933;">=&amp;</span><span style="color: #666666; font-style: italic;">#62; $año);
</span>		<span style="color: #000088;">$a</span>ños2 <span style="color: #339933;">=</span> <span style="color: #000088;">$a</span>ño<span style="color: #339933;">;</span>
		<span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/mysql_query"><span style="color: #990000;">mysql_query</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;select Nombre,Fecha,Subtotal,IVA,Total from facturas,empresas where Fecha like '<span style="color: #006699; font-weight: bold;">$a</span>ño%' ORDER BY Fecha ASC&quot;</span><span style="color: #339933;">,</span><span style="color: #000088;">$conexion</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$row</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/mysql_fetch_array"><span style="color: #990000;">mysql_fetch_array</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$result</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
			<span style="color: #000088;">$_arreglo</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$a</span>ño<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;año&quot;</span><span style="color: #339933;">=&amp;</span><span style="color: #666666; font-style: italic;">#62;$row['Fecha'],&quot;nom&quot;=&amp;#62;$row[&quot;Nombre&quot;],&quot;subT&quot;=&amp;#62;$row['Subtotal'],&quot;iva&quot;=&amp;#62;$row[&quot;IVA&quot;],&quot;Total&quot;=&amp;#62;$row['Total']);
</span>		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #666666; font-style: italic;">/*todo lo demás se lo han de imaginar y si funciona si en vez de los dos echo de abajo solo dejo uno, pero necesito las 2 variables en la función de javascript, alguna forma de como resolver esto?? o tendria que hacer otra llamada con jquery para en otro archivo generar el $_arreglo?? */</span>
&nbsp;
<span style="color: #b1b100;">echo</span> <a href="http://www.php.net/json_encode"><span style="color: #990000;">json_encode</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$year</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <a href="http://www.php.net/json_encode"><span style="color: #990000;">json_encode</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_arreglo</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">/* en el log de la consola de chrome me dice 'status Text':&quot;parserError&quot;*/</span>
&nbsp;
?<span style="color: #339933;">&amp;</span><span style="color: #666666; font-style: italic;">#62;</span>
&nbsp;</pre></description>
		</item>
		<item>
			<title>djtitox on "Mensaje al cerrar ventana Jquery"</title>
			<link>http://www.dudasprogramacion.com/topic/mensaje-al-cerrar-ventana-jquery#post-930</link>
			<pubDate>Fri, 13 May 2011 17:47:41 +0000</pubDate>
			<dc:creator>djtitox</dc:creator>
			<guid isPermaLink="false">930@http://www.dudasprogramacion.com/</guid>
			<description><p>Hola Necesito ayuda con lo siguiente por favor</p>
<p>Lo que necesito es que al cerrar una pagina me lance un alert como en javascript pero quiero hacerlo con jquery ya que en javascript no me deja poner un titulo en la caja de alerta.</p>
<p>la verdad eh intentado hacerlo con jalert query pero solo salen ejemplos desde un boton y lo que yo necesito es que se dispare el evento al cerrar la pagina y bueno no entiendo muy bien como hacerlo.</p>
<p>Muchas Gracias
</p></description>
		</item>
		<item>
			<title>Lobodemonte on "src enmascarado con variable ¿se puede?"</title>
			<link>http://www.dudasprogramacion.com/topic/src-enmascarado-con-variable-%c2%bfse-puede#post-940</link>
			<pubDate>Wed, 25 May 2011 23:45:05 +0000</pubDate>
			<dc:creator>Lobodemonte</dc:creator>
			<guid isPermaLink="false">940@http://www.dudasprogramacion.com/</guid>
			<description><p>Señores expertos:</p>
<p>Agradezco su cooperación en la siguiente pregunta:<br />
¿Puedo aplicar una variable llamada "foto1" que contenga una dirección como: img/photos/1.jpg a una línea como: </p>
<pre class="html4strict" style="font-family:monospace;"><span style="color: #ddbb00;">&amp;#60;</span>img src=&quot;img/photos/1.jpg&quot; width=620<span style="color: #ddbb00;">&amp;#62;</span></pre>
<p>Gracias de antemano.
</p></description>
		</item>
		<item>
			<title>yoniti7784 on "me urge ayuda con un envio de datos a una pagina"</title>
			<link>http://www.dudasprogramacion.com/topic/me-urge-ayuda-con-un-envio-de-datos-a-una-pagina#post-926</link>
			<pubDate>Sun, 08 May 2011 22:56:05 +0000</pubDate>
			<dc:creator>yoniti7784</dc:creator>
			<guid isPermaLink="false">926@http://www.dudasprogramacion.com/</guid>
			<description><p>Buenas necesito ayuda con un Radio de html + php y jquery....<br />
tengo lo siguiente:::<br />
en php</p>
<pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$reg</span><span style="color: #339933;">=</span><a href="http://www.php.net/mysql_fetch_array"><span style="color: #990000;">mysql_fetch_array</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$respuesta</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
     <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&amp;#60;input type='hidden' name='nombre' value='.<span style="color: #006699; font-weight: bold;">$reg</span>['idusuario'].'&amp;#62;&quot;</span><span style="color: #339933;">;</span>
     <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&amp;#60;input type='radio'&amp;#62; nombre : &quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$reg</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'nom_usuario'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre>
<p>como son varios registros solo cuando lo envio en el submit aquí tengo un script</p>
<pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">function</span> FormularioUsuarios<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
    $.<span style="color: #660066;">post</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'Conexiones/calendario.php'</span><span style="color: #339933;">,</span>
           <span style="color: #009900;">&#123;</span>info<span style="color: #339933;">:</span> form_seleccion.<span style="color: #660066;">nombre</span>.<span style="color: #660066;">value</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
           <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>output<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
                $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'.calendario'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">html</span><span style="color: #009900;">&#40;</span>output<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">show</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;slow&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
           <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre>
<p>al momento de capturarlo en 'pagina1.php' lo ago asi:</p>
<pre class="php" style="font-family:monospace;"><span style="color: #000088;">$captura</span><span style="color: #339933;">=</span> <a href="http://www.php.net/mysql_real_escape_string"><span style="color: #990000;">mysql_real_escape_string</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'info'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre>
<p>y me marca error de que no se pudo mostrar.<br />
el problema ya se cual es, lo que no se es la solución.<br />
Lo he conseguido enviar quitando el 'input&#62;hidden' del 'WHILE' y poniendolo fuera.<br />
al parecer no puedo enviar más de un 'name' por este script.</p>
<p>espero me haya explicado bien, sin mas que decir gracias.
</p></description>
		</item>
		<item>
			<title>Juan Carlos Valverde Samano on "jQuery UI MultiSelect Widget"</title>
			<link>http://www.dudasprogramacion.com/topic/jquery-ui-multiselect-widget#post-920</link>
			<pubDate>Tue, 12 Apr 2011 16:06:37 +0000</pubDate>
			<dc:creator>Juan Carlos Valverde Samano</dc:creator>
			<guid isPermaLink="false">920@http://www.dudasprogramacion.com/</guid>
			<description><p>Hola, estoy usando el framework de jQuery para el manejo de listas multiselect.<br />
funciona perfectamente; la duda es la siguiente:<br />
¿Alguien a implementado en ellas un ToolTip?, es desir que al colocar el mouse cobre la<br />
lista, salga en un ToolTip los items seleccionados...<br />
al parecer no existe una funcion para esto...</p>
<p>Agradezco sus opiniones ó Comentarios.!
</p></description>
		</item>
		<item>
			<title>quodigital on "Vincular Div con jQuery"</title>
			<link>http://www.dudasprogramacion.com/topic/vincular-div-con-jquery#post-885</link>
			<pubDate>Wed, 02 Mar 2011 15:26:37 +0000</pubDate>
			<dc:creator>quodigital</dc:creator>
			<guid isPermaLink="false">885@http://www.dudasprogramacion.com/</guid>
			<description><p>Tengo el siguiente codigo, pero lo hace automatico, y lo que quiero es apretar el div y que se esconda el texto, no se como hacerlo .</p>
<pre class="html4strict" style="font-family:monospace;"><span style="color: #ddbb00;">&amp;#60;</span>div onclick=&quot;fede()&quot;id=&quot;micontenido&quot; style=&quot; background:#9C0; border:double:#F00&quot;<span style="color: #ddbb00;">&amp;#62;</span>
   aca tu contenido. asegurate que sea extenso para que puedas ver el efecto--<span style="color: #ddbb00;">&amp;#62;</span>
<span style="color: #ddbb00;">&amp;#60;</span>/div<span style="color: #ddbb00;">&amp;#62;</span>
&nbsp;
<span style="color: #ddbb00;">&amp;#60;</span>script type=&quot;text/javascript&quot;<span style="color: #ddbb00;">&amp;#62;</span>
$(document).ready(function(){
  $(document).ready(function () {
    $('#micontenido').fadeOut(1200);
  });
});
<span style="color: #ddbb00;">&amp;#60;</span>/script<span style="color: #ddbb00;">&amp;#62;</span></pre></description>
		</item>
		<item>
			<title>yens on "Como usar json jquery"</title>
			<link>http://www.dudasprogramacion.com/topic/como-usar-json-jquery#post-883</link>
			<pubDate>Thu, 24 Feb 2011 19:09:16 +0000</pubDate>
			<dc:creator>yens</dc:creator>
			<guid isPermaLink="false">883@http://www.dudasprogramacion.com/</guid>
			<description><p>Tengo problemas con el uso de jquery y PHP</p>
<p>no se si me pueden ayudar con un simple ejemplo o un link que me especifique los requerimientos del php o alguno</p>
<p>gracias
</p></description>
		</item>
		<item>
			<title>combuilder on "Ejemplo sencillo ¿como?"</title>
			<link>http://www.dudasprogramacion.com/topic/ejemplo-sencillo-%c2%bfcomo#post-880</link>
			<pubDate>Mon, 21 Feb 2011 14:51:56 +0000</pubDate>
			<dc:creator>combuilder</dc:creator>
			<guid isPermaLink="false">880@http://www.dudasprogramacion.com/</guid>
			<description><p>Hola.<br />
Estoy intentando hacer un ejemplo muy básico que no consigo que funcione correctamente.</p>
<p>OBJETIVO: Tengo una web muy simple, con solo un elemento A, que cuando es pulsado carga unos datos mediante AJAX.</p>
<p>OBJETIVO 2: Una vez cargada la tabla, quiero aplicar TableSort.</p>
<p>LA primera parte la he conseguido, pero la segunda ... no consigo.</p>
<p>Pongo los códigos:</p>
<p>Código HTML:</p>
<pre class="html4strict" style="font-family:monospace;"><span style="color: #ddbb00;">&amp;#60;</span>html<span style="color: #ddbb00;">&amp;#62;</span>
&nbsp;
<span style="color: #ddbb00;">&amp;#60;</span>head<span style="color: #ddbb00;">&amp;#62;</span>
<span style="color: #ddbb00;">&amp;#60;</span>script src=&quot;jquery.js&quot; type=&quot;text/javascript&quot;<span style="color: #ddbb00;">&amp;#62;&amp;#60;</span>/script<span style="color: #ddbb00;">&amp;#62;</span>
<span style="color: #ddbb00;">&amp;#60;</span>script src=&quot;jquery.tablesorter.min.js&quot; type=&quot;text/javascript&quot;<span style="color: #ddbb00;">&amp;#62;&amp;#60;</span>/script<span style="color: #ddbb00;">&amp;#62;</span>
<span style="color: #ddbb00;">&amp;#60;</span>script<span style="color: #ddbb00;">&amp;#62;</span>
$(function( ){
	$(&quot;#miboton&quot;).bind(&quot;click&quot;, loading);
});
function loading(event)
{
	$(&quot;#tablamaestra2&quot;).load('data.htm');
	$(&quot;#tablamaestra&quot;).sorttable();
	$(&quot;#tablamaestra&quot;).trigger(&quot;update&quot;);
	$(&quot;#tablamaestra&quot;).trigger(&quot;appendCache&quot;);
}
<span style="color: #ddbb00;">&amp;#60;</span>/script<span style="color: #ddbb00;">&amp;#62;</span>
&nbsp;
<span style="color: #ddbb00;">&amp;#60;</span>title<span style="color: #ddbb00;">&amp;#62;</span>Ejemplo jQuery<span style="color: #ddbb00;">&amp;#60;</span>/title<span style="color: #ddbb00;">&amp;#62;</span>
&nbsp;
<span style="color: #ddbb00;">&amp;#60;</span>/head<span style="color: #ddbb00;">&amp;#62;</span>
&nbsp;
<span style="color: #ddbb00;">&amp;#60;</span>body<span style="color: #ddbb00;">&amp;#62;</span>
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span>Ver 2<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span>
&nbsp;
<span style="color: #ddbb00;">&amp;#60;</span>div id=&quot;tablamaestra2&quot;<span style="color: #ddbb00;">&amp;#62;</span>aqui<span style="color: #ddbb00;">&amp;#60;</span>/div<span style="color: #ddbb00;">&amp;#62;</span>
&nbsp;
<span style="color: #ddbb00;">&amp;#60;</span>/body<span style="color: #ddbb00;">&amp;#62;</span>
&nbsp;
<span style="color: #ddbb00;">&amp;#60;</span>/html<span style="color: #ddbb00;">&amp;#62;</span></pre>
<p>Ahora los datos a cargar data.htm:<br />
Código HTML:</p>
<pre class="html4strict" style="font-family:monospace;"><span style="color: #ddbb00;">&amp;#60;</span>table id=&quot;tablamaestra&quot;<span style="color: #ddbb00;">&amp;#62;</span>
 <span style="color: #ddbb00;">&amp;#60;</span>thead<span style="color: #ddbb00;">&amp;#62;</span>
  <span style="color: #ddbb00;">&amp;#60;</span>tr<span style="color: #ddbb00;">&amp;#62;</span>
   <span style="color: #ddbb00;">&amp;#60;</span>th<span style="color: #ddbb00;">&amp;#62;</span>Test<span style="color: #ddbb00;">&amp;#60;</span>/th<span style="color: #ddbb00;">&amp;#62;</span>
   <span style="color: #ddbb00;">&amp;#60;</span>th<span style="color: #ddbb00;">&amp;#62;</span>Col 2a<span style="color: #ddbb00;">&amp;#60;</span>/th<span style="color: #ddbb00;">&amp;#62;</span>
   <span style="color: #ddbb00;">&amp;#60;</span>th<span style="color: #ddbb00;">&amp;#62;</span>Col 3a<span style="color: #ddbb00;">&amp;#60;</span>/th<span style="color: #ddbb00;">&amp;#62;</span>
   <span style="color: #ddbb00;">&amp;#60;</span>th<span style="color: #ddbb00;">&amp;#62;</span>C4 a<span style="color: #ddbb00;">&amp;#60;</span>/th<span style="color: #ddbb00;">&amp;#62;</span>
  <span style="color: #ddbb00;">&amp;#60;</span>/tr<span style="color: #ddbb00;">&amp;#62;</span>
 <span style="color: #ddbb00;">&amp;#60;</span>/thead<span style="color: #ddbb00;">&amp;#62;</span>
 <span style="color: #ddbb00;">&amp;#60;</span>tbody<span style="color: #ddbb00;">&amp;#62;</span>
  <span style="color: #ddbb00;">&amp;#60;</span>tr<span style="color: #ddbb00;">&amp;#62;</span>
   <span style="color: #ddbb00;">&amp;#60;</span>td<span style="color: #ddbb00;">&amp;#62;</span>static col 1<span style="color: #ddbb00;">&amp;#60;</span>/td<span style="color: #ddbb00;">&amp;#62;</span>
   <span style="color: #ddbb00;">&amp;#60;</span>td<span style="color: #ddbb00;">&amp;#62;</span>static col 1<span style="color: #ddbb00;">&amp;#60;</span>/td<span style="color: #ddbb00;">&amp;#62;</span>
   <span style="color: #ddbb00;">&amp;#60;</span>td<span style="color: #ddbb00;">&amp;#62;</span>static col 1<span style="color: #ddbb00;">&amp;#60;</span>/td<span style="color: #ddbb00;">&amp;#62;</span>
   <span style="color: #ddbb00;">&amp;#60;</span>td<span style="color: #ddbb00;">&amp;#62;</span>static col 1<span style="color: #ddbb00;">&amp;#60;</span>/td<span style="color: #ddbb00;">&amp;#62;</span>
  <span style="color: #ddbb00;">&amp;#60;</span>/tr<span style="color: #ddbb00;">&amp;#62;</span>
  <span style="color: #ddbb00;">&amp;#60;</span>tr<span style="color: #ddbb00;">&amp;#62;</span>
   <span style="color: #ddbb00;">&amp;#60;</span>td<span style="color: #ddbb00;">&amp;#62;</span>a col 2<span style="color: #ddbb00;">&amp;#60;</span>/td<span style="color: #ddbb00;">&amp;#62;</span>
   <span style="color: #ddbb00;">&amp;#60;</span>td<span style="color: #ddbb00;">&amp;#62;</span>B col 2<span style="color: #ddbb00;">&amp;#60;</span>/td<span style="color: #ddbb00;">&amp;#62;</span>
   <span style="color: #ddbb00;">&amp;#60;</span>td<span style="color: #ddbb00;">&amp;#62;</span>static col 2<span style="color: #ddbb00;">&amp;#60;</span>/td<span style="color: #ddbb00;">&amp;#62;</span>
   <span style="color: #ddbb00;">&amp;#60;</span>td<span style="color: #ddbb00;">&amp;#62;</span>static col 2<span style="color: #ddbb00;">&amp;#60;</span>/td<span style="color: #ddbb00;">&amp;#62;</span>
  <span style="color: #ddbb00;">&amp;#60;</span>/tr<span style="color: #ddbb00;">&amp;#62;</span>
  <span style="color: #ddbb00;">&amp;#60;</span>tr<span style="color: #ddbb00;">&amp;#62;</span>
   <span style="color: #ddbb00;">&amp;#60;</span>td<span style="color: #ddbb00;">&amp;#62;</span>static col 3<span style="color: #ddbb00;">&amp;#60;</span>/td<span style="color: #ddbb00;">&amp;#62;</span>
   <span style="color: #ddbb00;">&amp;#60;</span>td<span style="color: #ddbb00;">&amp;#62;</span>static col 3<span style="color: #ddbb00;">&amp;#60;</span>/td<span style="color: #ddbb00;">&amp;#62;</span>
   <span style="color: #ddbb00;">&amp;#60;</span>td<span style="color: #ddbb00;">&amp;#62;</span>static col 3<span style="color: #ddbb00;">&amp;#60;</span>/td<span style="color: #ddbb00;">&amp;#62;</span>
   <span style="color: #ddbb00;">&amp;#60;</span>td<span style="color: #ddbb00;">&amp;#62;</span>static col 3<span style="color: #ddbb00;">&amp;#60;</span>/td<span style="color: #ddbb00;">&amp;#62;</span>
  <span style="color: #ddbb00;">&amp;#60;</span>/tr<span style="color: #ddbb00;">&amp;#62;</span>
  <span style="color: #ddbb00;">&amp;#60;</span>tr<span style="color: #ddbb00;">&amp;#62;</span>
   <span style="color: #ddbb00;">&amp;#60;</span>td<span style="color: #ddbb00;">&amp;#62;</span>Dstatic col 4<span style="color: #ddbb00;">&amp;#60;</span>/td<span style="color: #ddbb00;">&amp;#62;</span>
   <span style="color: #ddbb00;">&amp;#60;</span>td<span style="color: #ddbb00;">&amp;#62;</span>static col 4<span style="color: #ddbb00;">&amp;#60;</span>/td<span style="color: #ddbb00;">&amp;#62;</span>
   <span style="color: #ddbb00;">&amp;#60;</span>td<span style="color: #ddbb00;">&amp;#62;</span>static col 4<span style="color: #ddbb00;">&amp;#60;</span>/td<span style="color: #ddbb00;">&amp;#62;</span>
   <span style="color: #ddbb00;">&amp;#60;</span>td<span style="color: #ddbb00;">&amp;#62;</span>static col 4<span style="color: #ddbb00;">&amp;#60;</span>/td<span style="color: #ddbb00;">&amp;#62;</span>
  <span style="color: #ddbb00;">&amp;#60;</span>/tr<span style="color: #ddbb00;">&amp;#62;</span>
 <span style="color: #ddbb00;">&amp;#60;</span>/tbody<span style="color: #ddbb00;">&amp;#62;</span>
<span style="color: #ddbb00;">&amp;#60;</span>/table<span style="color: #ddbb00;">&amp;#62;</span></pre>
<p>Pues eso ... a ver si alguien me ilumina!
</p></description>
		</item>
		<item>
			<title>medieval on "Problema con selectores en listas y sublistas"</title>
			<link>http://www.dudasprogramacion.com/topic/problema-con-selectores-en-listas-y-sublistas#post-875</link>
			<pubDate>Tue, 01 Feb 2011 12:47:59 +0000</pubDate>
			<dc:creator>medieval</dc:creator>
			<guid isPermaLink="false">875@http://www.dudasprogramacion.com/</guid>
			<description><p>Hola a todos.</p>
<p>Estoy intentando realizar el típico menú desplegable con jquery usando el mínimo de id y clases. El HTML es este:</p>
<pre class="html4strict" style="font-family:monospace;"><span style="color: #ddbb00;">&amp;#60;</span>div id=&quot;segunda_cabecera&quot;<span style="color: #ddbb00;">&amp;#62;</span>
    <span style="color: #ddbb00;">&amp;#60;</span>ul id=&quot;topnav&quot;<span style="color: #ddbb00;">&amp;#62;</span>  
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Portada<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Monotemáticos<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span>
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/ul.html"><span style="color: #000000; font-weight: bold;">ul</span></a>&gt;</span>
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>HTML<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Javascritp<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Ajax<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/ul.html"><span style="color: #000000; font-weight: bold;">ul</span></a>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Secciones<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span>
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/ul.html"><span style="color: #000000; font-weight: bold;">ul</span></a>&gt;</span>
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Manuales<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Programas<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/ul.html"><span style="color: #000000; font-weight: bold;">ul</span></a>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Bloging<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Comunidad<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Wiki<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>RSS<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
&nbsp;
<span style="color: #ddbb00;">&amp;#60;</span>/div<span style="color: #ddbb00;">&amp;#62;</span></pre>
<p>El código jquery es este (sólo lo he empezado):</p>
<pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
    $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#topnav &amp;#62; li&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;horizontal&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #006600; font-style: italic;">//Con esto consigo que aparezca horizontal</span>
&nbsp;
    $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#topnav &amp;#62; li&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">mouseover</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>evento<span style="color: #009900;">&#41;</span><span style="color: #006600; font-style: italic;">//Aquí está el problema</span>
    <span style="color: #009900;">&#123;</span>
	$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;background-color&quot;</span><span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;black&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;color&quot;</span><span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;white&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #006600; font-style: italic;">/*El color blanco no se muestra*/</span>
	$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">children</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;ul&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">slideDown</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre>
<p>Lo que pretendo es que cuando pase el ratón por encima de un li principal, éste y sólo éste tenga color de fondo negro y de carácter blanco y se desplieguen las sublistas, pero la realidad es que con $("#topnav &#62; li") también selecciono las sublistas y al desplegarse estas también tienen color de fondo negro. También tengo el problema de que el color del caracter no cambia a blanco. Se queda todo negro. ¿Alguien sabe cómo seleccionar un li sin seleccionar a sus hijos?. ¿Por qué no se ponen de color blanco las letras?.</p>
<p>Muchas gracias.
</p></description>
		</item>

	</channel>
</rss>

