<?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; Forum: JavaScript - Recent Topics</title>
		<link>http://www.dudasprogramacion.com/forum/javascript</link>
		<description>Dudas sobre lenguajes y apis de programación</description>
		<language>en-US</language>
		<pubDate>Wed, 08 Feb 2012 03:40:29 +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/forum/javascript/topics" rel="self" type="application/rss+xml" />

		<item>
			<title>o9w9ow on "control de  fechas"</title>
			<link>http://www.dudasprogramacion.com/topic/control-de-fechas#post-1009</link>
			<pubDate>Wed, 21 Dec 2011 02:37:50 +0000</pubDate>
			<dc:creator>o9w9ow</dc:creator>
			<guid isPermaLink="false">1009@http://www.dudasprogramacion.com/</guid>
			<description><p>地尽头(15)&#60;原油br&#62;<br />
<a href="http://www.easthillfx.co.jp/ccfd/index5d.htm">原油</a> <a href="http://www.worksite.com.cn">OA</a> <a href="http://www.elecia.com.cn/product.aspx?sort_id=531">磁通计</a> <a href="http://www.aolipump.com/huagong.asp">化工泵</a> <a href="http://www.jk17.cn/chy.asp">测厚仪</a> <a href="http://www.sd1718.com/yiqi/2-2.html">测距仪</a> <a href="http://www.ayqzjx.com/" />垫块机 <a href="http://www.bjmr999.com/2010/1213/80.html">切开双眼皮</a> <a href="http://www.kaiqi-toy.com/" />塑料玩具 <a href="http://www.yhmyl.com/" />中药治疗前列腺炎 <a href="http://www.sd1718.com/yiqi/6-6-4.html">泰克示波器</a> <a href="http://www.ss-spring.cn">弹簧</a> <a href="http://www.navycardiac.com/jbzt/fsxbmb/20070207212.htm">心脏瓣膜病</a> <a href="http://www.021zsgs.com/" />办公室装修 <a href="http://www.mfbhm.cn">保护膜</a> <a href="http://www.guolvji.net/product.asp">板框压滤机</a> <a href="http://www.jrery.com/pro_detail.asp?id=172">开山空压机</a> <a href="http://www.sd1718.com/yiqi/6-5.html">稳压电源</a> <a href="http://www.dg3s.com.cn/" />装饰公司 <a href="http://www.huameiqj.com/" />外墙清洗 <br />
&#60;p&#62;“学文，安排一下，我们去北戴河休息几天。也躲躲落红，估计那丫头快要发难了，她是不会善罢甘休的！”&#60;/p&#62;&#60;p&#62;再次愤怒回到家中的薛落红，再次几乎砸掉了所有能砸的东西！包括多宝格上的有些“旧”的东西，她边砸边气喘吁吁地喊道：“老爹，我究竟什么地方得罪你了？薛落兰，我不会放过你，我跟你拼命！”&#60;/p&#62;&#60;p&#62;叶方没有阻拦她，而是躺在沙发上，平静地、皱着眉头看着她……&#60;/p&#62;&#60;p&#62;能砸的都砸完了，薛落红一个人喘着粗气站在房子的中间。&#60;/p&#62;&#60;p&#62;“你倒是说话啊？至少你可以出个主意啊，你不是早就有了力挽狂澜的办法了吗？”薛落红质问道。&#60;/p&#62;&#60;p&#62;“我……”&#60;/p&#62;&#60;p&#62;“你不是说只要我想当，我就一定可以当上启明星的董事长吗？现在你也傻了吧！怎么说话和放屁一样！要你这样的男人，一点用都没有！”&#60;/p&#62;&#60;p&#62;叶方微笑着站起来,说道:&#60;/p&#62;&#60;p&#62;“我叶方说出的话，泼出的水，我还是那句话，只要你想干，启明星的董事长就一定是你的！”&#60;/p&#62;&#60;p&#62;在薛落红看来，这话是痴人说梦。她理都没有理叶方，而是“呼”地扑倒在床上，大哭起来……&#60;/p&#62;&#60;p&#62;叶方也不再劝她，而是一声不语地、平静地踱到鱼缸旁，看着悠然自得的金鱼……&#60;/p&#62;&#60;p&#62;哭累了的落红，抹去眼泪，“呼”地站起来开始穿衣服。&#60;/p&#62;&#60;p&#62;“你去哪儿？”叶方问道。&#60;/p&#62;&#60;p&#62;“去找老爹，让他给我当面说清！”&#60;/p&#62;&#60;p&#62;“不要去！”叶方虽然还是慢悠悠的，但口气显得有些严厉。&#60;/p&#62;&#60;p&#62;“为什么？”&#60;/p&#62;&#60;p&#62;“去也没用。”叶方随手向鱼缸里撒了点鱼食，然后拍了拍手说道：“你想想，这么大事，你爹一定是几个月前就想好了的，绝不是一时性起决定的。以你姐姐的本事，这么快就拿到这块地，我看一点儿可能都没有！跟我使这招儿，哄孩子呢！”&#60;/p&#62;&#60;p&#62;“哦？”落红停止了穿衣服，惊讶地问道：“你的意思是……”&#60;/p&#62;&#60;p&#62;“当然是老爷子帮她拿的！也许她不是一点力量都没出，但至少找到上家，是老爷子出的力。就凭薛落兰那点儿本事，大海捞针的事她干不了！是老爷子一心想把她扶起来，就凭你这么一找，他会改主意？笑话！”&#60;/p&#62;&#60;p&#62;“是这么回事？那我就更跟老爷子没完！都是他亲生的，他凭什么！”&#60;/p&#62;&#60;p&#62;“你找他也没用，他也不会承认，你也没有任何证据，三言两语就把你哄回来了，实际是顶回来了！”&#60;/p&#62;&#60;p&#62;“这……”落红听明白了，她仔细想了想，气馁地丢下包，坐在床上……&#60;/p&#62;&#60;p&#62;“那你说就没办法了？就眼看着启明星落到落兰一个人手里？对了，你不是说过只要我愿意，启明星就肯定是我的吗？”&#60;/p&#62;&#60;p&#62;“对，我是说过。过去这样说，现在还这样说。落红，只要你愿意，启明星就还是你薛落红的。”叶方口气坚定地说。&#60;/p&#62;&#60;p&#62;“什么时候了，还哄孩子？你当我是三岁小孩呀！”薛落红噘着嘴，扭过头去。&#60;/p&#62;&#60;p&#62;“哄孩子？我可不是！”叶方微微地笑了笑，又不讲话了。&#60;/p&#62;&#60;p&#62;落红站起身，转过头，目光询问地看着他，片刻，说道：“那你到底是什么意思？把话说明白，别这么阴阳怪气的！”&#60;/p&#62;&#60;p&#62;“不好意思啊，我再问一遍，如果公司拿过来，你薛落红做了董事长，和我有什么关系啊？”叶方转过头，口气在一瞬间变得严肃起来。&#60;/p&#62;&#60;p&#62;“你？你是女婿啊，你说是什么关系？”&#60;/p&#62;&#60;p&#62;“那好，那我就算明白了。落红，我们什么时候结婚呀？”&#60;/p&#62;&#60;p&#62;“那还不简单，那还不是咱俩儿说了算。”落红干脆地说道。&#60;/p&#62;&#60;p&#62;“落红，别怪我，也许有些话会显得有点无情，但是丑话讲在前边，我们的关系才能越处越好！落红，我是真的爱你的，这是不会变的！”&#60;/p&#62;&#60;p&#62;“这我信。说吧，你有什么好主意？”薛落红知道，这时话只能这么说。一切要等叶方把事情说明白了再作计较。&#60;/p&#62;&#60;p&#62;&#60;/p&#62;<a href="http://www.dzbq.com/" />深圳搬家公司 <a href="http://www.diansuo.com">门禁</a> <a href="http://www.bolsy.com/productshow.asp?articleid=19">car sun shades</a> <a href="http://www.cnkangyu.com/cpzs.html">弹簧</a> <a href="http://www.cashguide.jp/mobile/" />ショッピング枠現金化 <a href="http://www.sxylzj.com/" />競馬新聞 <a href="http://www.mixer.org.cn/product/glq/default.html">过滤器</a> <a href="http://www.64835108.com/" />打标机 <a href="http://www.jsspring.com">弹簧</a> 
</p></description>
		</item>
		<item>
			<title>MostWanted on "Contar Checkbox"</title>
			<link>http://www.dudasprogramacion.com/topic/contar-checkbox-1#post-994</link>
			<pubDate>Wed, 23 Nov 2011 20:27:49 +0000</pubDate>
			<dc:creator>MostWanted</dc:creator>
			<guid isPermaLink="false">994@http://www.dudasprogramacion.com/</guid>
			<description><p>Me gustaría saber como contar los checkbox seleccionados, con una cantidad no fija, cuyos nombres son un numero entero que se incrementa. Estos checkbox se crean dinámicamente, por lo que no se conoce su cantidad. Alguien que me haga el favor de publicarlo algo al respecto.</p>
<p> Nota:: Puedo contar con php la cantidad de chekbox que se van creando.
</p></description>
		</item>
		<item>
			<title>mayojm on "Capturar computer name desde Javascript"</title>
			<link>http://www.dudasprogramacion.com/topic/capturar-computer-name-desde-javascript#post-556</link>
			<pubDate>Tue, 27 Jul 2010 11:26:22 +0000</pubDate>
			<dc:creator>mayojm</dc:creator>
			<guid isPermaLink="false">556@http://www.dudasprogramacion.com/</guid>
			<description><p>Hola, </p>
<p>me gustaria saber si es posible capturar el nombre del equipo desde el cuál se hace la petición de páginas HTML(computername). </p>
<p>Es esto posible desde Javascript.</p>
<p>Saludos
</p></description>
		</item>
		<item>
			<title>planseldon on "sonido en formularios de javascript"</title>
			<link>http://www.dudasprogramacion.com/topic/sonido-en-formularios-de-javascript#post-273</link>
			<pubDate>Tue, 08 Dec 2009 20:33:48 +0000</pubDate>
			<dc:creator>planseldon</dc:creator>
			<guid isPermaLink="false">273@http://www.dudasprogramacion.com/</guid>
			<description><p>Hola. </p>
<p>Estoy haciendo unos ejercicios de gramática con javascript.</p>
<p>Tengo ya terminado el modelo básico de lo que quiero, pero me falta un detalle: me gustaría añadir unos sonidos. </p>
<p>Os copio el código para que veáis de qué se trata:</p>
<pre class="html4strict" style="font-family:monospace;">&nbsp;
<span style="color: #ddbb00;">&amp;#60;</span>html<span style="color: #ddbb00;">&amp;#62;</span>
<span style="color: #ddbb00;">&amp;#60;</span>head<span style="color: #ddbb00;">&amp;#62;</span>
&nbsp;
<span style="color: #ddbb00;">&amp;#60;</span>title<span style="color: #ddbb00;">&amp;#62;</span>Ejercicio 1<span style="color: #ddbb00;">&amp;#60;</span>/title<span style="color: #ddbb00;">&amp;#62;</span>
&nbsp;
<span style="color: #ddbb00;">&amp;#60;</span>style type=&quot;text/css&quot;<span style="color: #ddbb00;">&amp;#62;</span>
   form { display:inline; }
   * {
      font-family: Palatino Linotype;
      font-size : 110%;
   }
<span style="color: #ddbb00;">&amp;#60;</span>/style<span style="color: #ddbb00;">&amp;#62;</span>
&nbsp;
<span style="color: #ddbb00;">&amp;#60;</span>script language=&quot;javascript&quot;<span style="color: #ddbb00;">&amp;#62;</span>
function respuestaOK(obj, respuesta) {
   var formulario = document.getElementById(&quot;frm_&quot; + obj);
   var campo = formulario.elements[obj];
   var campoIntentos = formulario.elements[obj + &quot;_intentos&quot;];
   var valor = campo.value;
   var valorIntentos = campoIntentos.value;
&nbsp;
   v1 = respuesta.toLowerCase();
   v2 = valor.toLowerCase();
&nbsp;
   if(v1 == v2) {
      campo.disabled = true;
   }
   else {
      valorIntentos++;
      if(valorIntentos <span style="color: #ddbb00;">&amp;#60;</span> 3) {
         alert(&quot;Error&quot;);
         campoIntentos.value = valorIntentos;
      }
      else {
         alert(&quot;Error&quot;);
         campo.value = v1;
         campo.disabled = true;
      }
   }
&nbsp;
   return false;
}
<span style="color: #ddbb00;">&amp;#60;</span>/script<span style="color: #ddbb00;">&amp;#62;</span>
<span style="color: #ddbb00;">&amp;#60;</span>/head<span style="color: #ddbb00;">&amp;#62;</span>
<span style="color: #ddbb00;">&amp;#60;</span>body<span style="color: #ddbb00;">&amp;#62;</span>
&nbsp;
<span style="color: #ddbb00;">&amp;#60;</span>b<span style="color: #ddbb00;">&amp;#62;</span>Ejercicios<span style="color: #ddbb00;">&amp;#60;</span>/b<span style="color: #ddbb00;">&amp;#62;</span>
&nbsp;
<span style="color: #ddbb00;">&amp;#60;</span>form name=&quot;frm_pregunta1&quot; id=&quot;frm_pregunta1&quot; onSubmit=&quot;return respuestaOK
&nbsp;
('pregunta1', 'vito')&quot;<span style="color: #ddbb00;">&amp;#62;</span>
1. Pablito clavó un cla<span style="color: #ddbb00;">&amp;#60;</span>input type=&quot;text&quot; size=&quot;1&quot; name=&quot;pregunta1&quot; id=&quot;pregunta1&quot;<span style="color: #ddbb00;">&amp;#62;</span>.
<span style="color: #ddbb00;">&amp;#60;</span>input type=&quot;hidden&quot; name=&quot;pregunta1_intentos&quot; value=&quot;0&quot; /<span style="color: #ddbb00;">&amp;#62;</span>
<span style="color: #ddbb00;">&amp;#60;</span>/form<span style="color: #ddbb00;">&amp;#62;</span>
&nbsp;
<span style="color: #ddbb00;">&amp;#60;</span>form name=&quot;frm_pregunta2&quot; id=&quot;frm_pregunta2&quot; onSubmit=&quot;return respuestaOK
&nbsp;
('pregunta2', 'vó')&quot;<span style="color: #ddbb00;">&amp;#62;</span>
2. ¿Qué clavito cla<span style="color: #ddbb00;">&amp;#60;</span>input type=&quot;text&quot; size=&quot;1&quot; name=&quot;pregunta2&quot; id=&quot;pregunta2&quot;<span style="color: #ddbb00;">&amp;#62;</span> 
&nbsp;
Pablito?
<span style="color: #ddbb00;">&amp;#60;</span>input type=&quot;hidden&quot; name=&quot;pregunta2_intentos&quot; value=&quot;0&quot; /<span style="color: #ddbb00;">&amp;#62;</span>
<span style="color: #ddbb00;">&amp;#60;</span>/form<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: #ddbb00;">&amp;#60;</span>/html<span style="color: #ddbb00;">&amp;#62;</span>
&nbsp;</pre>
<p>Lo que me gustaría es introducir sonidos en los siguientes casos:</p>
<p>1) Cuando se introduce la respuesta adecuada querría que se oyese un sonido (p.ej. aplauso.wav)</p>
<p>2) Cuando se introduce la respuesta erronea que se oyese otro (p.ej. abucheo.wav). Este no es tan importante, pues ahora mismo se oye el sonido de la alerta, lo cual ya es algo. Pero quizás a alguien se le ocurra una solución mejor para poder personalizarlo y que suene el sonido que yo quiero, no el predeterminado por cada navegador.</p>
<p>Muchas gracias por la atención.
</p></description>
		</item>
		<item>
			<title>LaloLanda on "Ayuda en JavaScript"</title>
			<link>http://www.dudasprogramacion.com/topic/ayuda-en-javascript#post-939</link>
			<pubDate>Wed, 25 May 2011 23:32:40 +0000</pubDate>
			<dc:creator>LaloLanda</dc:creator>
			<guid isPermaLink="false">939@http://www.dudasprogramacion.com/</guid>
			<description><p>Hola mi duda es la siguiente, estoy realizando un codigo en javascript con Dreamweaver 8, el cual me de 3 opciones (1. ingresar datos 2.consulta general 3.salida) y en el cual me los ordene con uno de los dos metodos (menos burbuja) pero lo que no tengo que utilizar es for para ciclarlo 3 veces ni me funciona el numero 3 para salida que es lo que puedo hacer en este caso???</p>
<pre class="javascript" style="font-family:monospace;"><span style="color: #006600; font-style: italic;">// JavaScript Document</span>
<span style="color: #339933;">&amp;</span>#<span style="color: #CC0000;">60</span><span style="color: #339933;">;</span>HTML<span style="color: #339933;">&amp;</span>#<span style="color: #CC0000;">62</span><span style="color: #339933;">;</span>
<span style="color: #339933;">&amp;</span>#<span style="color: #CC0000;">60</span><span style="color: #339933;">;</span>HEAD<span style="color: #339933;">&amp;</span>#<span style="color: #CC0000;">62</span><span style="color: #339933;">;</span>
<span style="color: #339933;">&amp;</span>#<span style="color: #CC0000;">60</span><span style="color: #339933;">;</span>TITLE<span style="color: #339933;">&amp;</span>#<span style="color: #CC0000;">62</span><span style="color: #339933;">;</span>PRACTICA <span style="color: #CC0000;">2</span> <span style="color: #339933;">&amp;</span>#<span style="color: #CC0000;">60</span><span style="color: #339933;">;/</span>TITLE<span style="color: #339933;">&amp;</span>#<span style="color: #CC0000;">62</span><span style="color: #339933;">;</span>
<span style="color: #339933;">&amp;</span>#<span style="color: #CC0000;">60</span><span style="color: #339933;">;/</span>HEAD<span style="color: #339933;">&amp;</span>#<span style="color: #CC0000;">62</span><span style="color: #339933;">;</span>
<span style="color: #339933;">&amp;</span>#<span style="color: #CC0000;">60</span><span style="color: #339933;">;</span>BODY<span style="color: #339933;">&amp;</span>#<span style="color: #CC0000;">62</span><span style="color: #339933;">;</span>
<span style="color: #339933;">&amp;</span>#<span style="color: #CC0000;">60</span><span style="color: #339933;">;</span>SCRIPT LANGUAGE<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;JavaScript&quot;</span><span style="color: #339933;">&amp;</span>#<span style="color: #CC0000;">62</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #003366; font-weight: bold;">var</span> domicilio
<span style="color: #003366; font-weight: bold;">var</span> telefono
<span style="color: #003366; font-weight: bold;">var</span> movil
<span style="color: #003366; font-weight: bold;">var</span> mail
<span style="color: #003366; font-weight: bold;">var</span> opcion<span style="color: #339933;">=</span><span style="color: #CC0000;">1</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> captura
<span style="color: #003366; font-weight: bold;">var</span> consulta
<span style="color: #003366; font-weight: bold;">var</span> salida
<span style="color: #003366; font-weight: bold;">var</span> opc
<span style="color: #003366; font-weight: bold;">var</span> cuenta
<span style="color: #003366; font-weight: bold;">var</span> numcuenta
<span style="color: #003366; font-weight: bold;">var</span> xnum
<span style="color: #003366; font-weight: bold;">var</span> x<span style="color: #339933;">=</span><span style="color: #CC0000;">0</span>
<span style="color: #003366; font-weight: bold;">var</span> y
<span style="color: #003366; font-weight: bold;">var</span> bandera
<span style="color: #003366; font-weight: bold;">var</span> cta
<span style="color: #003366; font-weight: bold;">var</span> nom
<span style="color: #003366; font-weight: bold;">var</span> dom
<span style="color: #003366; font-weight: bold;">var</span> tele
<span style="color: #003366; font-weight: bold;">var</span> mov
<span style="color: #003366; font-weight: bold;">var</span> ma
&nbsp;
<span style="color: #000066; font-weight: bold;">do</span>
<span style="color: #009900;">&#123;</span>
<span style="color: #003366; font-weight: bold;">var</span> opcion<span style="color: #339933;">=</span><span style="color: #000066;">prompt</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Elije tu opcion: 1.Captura 2.Consulta 3.EXIT&quot;</span><span style="color: #339933;">,</span>opcion<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>opcion<span style="color: #339933;">==</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
<span style="color: #003366; font-weight: bold;">var</span> numcta<span style="color: #339933;">=</span><span style="color: #000066;">prompt</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Su numero de cuenta es: &quot;</span><span style="color: #339933;">,</span>numcta<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> nombre<span style="color: #339933;">=</span>	<span style="color: #000066;">prompt</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Su nombre es: &quot;</span> <span style="color: #339933;">,</span>nombre<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> direccion<span style="color: #339933;">=</span> <span style="color: #000066;">prompt</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Su direccion es&quot;</span> <span style="color: #339933;">,</span>direccion<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> telefono<span style="color: #339933;">=</span> <span style="color: #000066;">prompt</span> <span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Su telefono es&quot;</span><span style="color: #339933;">,</span>telefono<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> movil<span style="color: #339933;">=</span><span style="color: #000066;">prompt</span> <span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Su movil es: &quot;</span> <span style="color: #339933;">,</span>movil<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> mail<span style="color: #339933;">=</span><span style="color: #000066;">prompt</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Su mail es: &quot;</span><span style="color: #339933;">,</span>mail<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
opcion<span style="color: #339933;">++;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>opcion<span style="color: #339933;">==</span><span style="color: #CC0000;">2</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
	document.<span style="color: #000066; font-weight: bold;">write</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;&amp;#60;H2&amp;#62;su numero de cuenta es   &quot;</span> <span style="color: #339933;">+</span> numcta <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;&amp;#60;/H2&amp;#62;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	document.<span style="color: #000066; font-weight: bold;">write</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;&amp;#60;H2&amp;#62;su nombre es   &quot;</span> <span style="color: #339933;">+</span> nombre <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;&amp;#60;/H2&amp;#62;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	document.<span style="color: #000066; font-weight: bold;">write</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;&amp;#60;H2&amp;#62;su domicilio es   &quot;</span> <span style="color: #339933;">+</span> direccion <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;&amp;#60;/H2&amp;#62;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	document.<span style="color: #000066; font-weight: bold;">write</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;&amp;#60;H2&amp;#62;su telefono casa es   &quot;</span><span style="color: #339933;">+</span> telefono <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;&amp;#60;/H2&amp;#62;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	document.<span style="color: #000066; font-weight: bold;">write</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;&amp;#60;H2&amp;#62;su movil es   &quot;</span><span style="color: #339933;">+</span> movil <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;&amp;#60;/H2&amp;#62;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	document.<span style="color: #000066; font-weight: bold;">write</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;&amp;#60;H2&amp;#62;su mail es   &quot;</span><span style="color: #339933;">+</span> mail <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;&amp;#60;/H2&amp;#62;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">while</span><span style="color: #009900;">&#40;</span>opcion<span style="color: #339933;">!=</span><span style="color: #CC0000;">2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>opcion<span style="color: #339933;">==</span><span style="color: #CC0000;">3</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
document.<span style="color: #000066; font-weight: bold;">write</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;&amp;#60;H2&amp;#62;&quot;</span><span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;&amp;#60;/H2&amp;#62;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000066; font-weight: bold;">while</span><span style="color: #009900;">&#40;</span>opcion<span style="color: #339933;">!=</span><span style="color: #CC0000;">3</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000066; font-weight: bold;">while</span><span style="color: #009900;">&#40;</span>x<span style="color: #339933;">!=</span><span style="color: #CC0000;">3</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #339933;">&amp;</span>#<span style="color: #CC0000;">60</span><span style="color: #339933;">;/</span>SCRIPT<span style="color: #339933;">&amp;</span>#<span style="color: #CC0000;">62</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #339933;">&amp;</span>#<span style="color: #CC0000;">60</span><span style="color: #339933;">;/</span>BODY<span style="color: #339933;">&amp;</span>#<span style="color: #CC0000;">62</span><span style="color: #339933;">;</span>
<span style="color: #339933;">&amp;</span>#<span style="color: #CC0000;">60</span><span style="color: #339933;">;/</span>HTML<span style="color: #339933;">&amp;</span>#<span style="color: #CC0000;">62</span><span style="color: #339933;">;</span></pre>
<p>Espero me puedan ayudar gracias.
</p></description>
		</item>
		<item>
			<title>josep on "ayuda en codigo"</title>
			<link>http://www.dudasprogramacion.com/topic/ayuda-en-codigo#post-889</link>
			<pubDate>Fri, 04 Mar 2011 10:17:19 +0000</pubDate>
			<dc:creator>josep</dc:creator>
			<guid isPermaLink="false">889@http://www.dudasprogramacion.com/</guid>
			<description><p>Hola a tod@s.<br />
Alguien de ustedes podrian ayudarme en el codigo que insertare al final de la pagina?<br />
El codigo funciona bien pero solo con dos fotos,lo que quisiera es ponerle mas, por<br />
ejemplo (10), y tambien con el tamaño ( WEDTH  Y  HEIGHT ).<br />
El codigo siguiente cambia las dos fotos cada cinco segundos.<br />
Gracias.<br />
Salud.</p>
<pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&amp;</span>#<span style="color: #CC0000;">60</span><span style="color: #339933;">;</span>script language<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;JavaScript&quot;</span><span style="color: #339933;">&amp;</span>#<span style="color: #CC0000;">62</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> estado<span style="color: #339933;">=</span><span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">;</span>
setTimeout<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;cambio()&quot;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">500</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">function</span> cambio<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
estado<span style="color: #339933;">=!</span>estado<span style="color: #339933;">;</span>
<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>estado<span style="color: #339933;">==</span><span style="color: #003366; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span>
img.<span style="color: #660066;">src</span><span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;valle.jpg&quot;</span>
<span style="color: #000066; font-weight: bold;">else</span>
img.<span style="color: #660066;">src</span><span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;estacion.jpg&quot;</span>
setTimeout<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;cambio()&quot;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">500</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #339933;">&amp;</span>#<span style="color: #CC0000;">60</span><span style="color: #339933;">;/</span>script<span style="color: #339933;">&amp;</span>#<span style="color: #CC0000;">62</span><span style="color: #339933;">;</span>
<span style="color: #339933;">&amp;</span>#<span style="color: #CC0000;">60</span><span style="color: #339933;">;</span>img <span style="color: #000066;">name</span><span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;img&quot;</span> src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;valle.jpg&quot;</span><span style="color: #339933;">&amp;</span>#<span style="color: #CC0000;">62</span><span style="color: #339933;">;</span></pre></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>rick_korn on "checkbox group"</title>
			<link>http://www.dudasprogramacion.com/topic/checkbox-group#post-872</link>
			<pubDate>Sat, 29 Jan 2011 13:18:58 +0000</pubDate>
			<dc:creator>rick_korn</dc:creator>
			<guid isPermaLink="false">872@http://www.dudasprogramacion.com/</guid>
			<description><p>Hola quiero que me ayuden por favor, tengo en HTML una tabla donde muestro la informacion desde la base de datos, en la primera columna tengo incluido varios checkbox de acuerdo a la cantidad de filas, el problema es que solo quiero seleccionar un solo checkbox de una sola fila y no varios, para que posteriormente pueda eliminar esa fila de acuerdo al codigo.<br />
gracias
</p></description>
		</item>
		<item>
			<title>evelin on "Función para cargar color en varios frames en JavaScript"</title>
			<link>http://www.dudasprogramacion.com/topic/funcion-para-cargar-color-en-varios-frames-en-javascript#post-770</link>
			<pubDate>Sun, 21 Nov 2010 16:58:17 +0000</pubDate>
			<dc:creator>evelin</dc:creator>
			<guid isPermaLink="false">770@http://www.dudasprogramacion.com/</guid>
			<description><p>Tengo una página dividida en 4 frames: 1 en la parte izquierda donde hay tres botones y los otros tres frames estan en la parte derecha, uno debajo del tro, les he puesto superior, centro e inferior.<br />
Lo que debe hacer la página es pinchar en cualquiera de los 3 botones y debe cambiar de color el frame correspondiente al boton.<br />
Tengo 3 ficheros, el de estructura, el del munú y uno que he llamado blanco.htm (que no tiene ningún elemento), con el que inicialmente aparece cargado los 3 frames de la derecha.<br />
En el menú debo hacer una función pasandole el número del frame y el color que va a tener al hacer click, pero no logro cargar el color en el frame corespondiente, el color se carga en el frame del menú.<br />
Este el el código del fichero menú:<br />
Esa función cargarFrame no se como usarla ó enlazarla con la del color.<br />
Por  favor ayudame.</p>
<pre class="html4strict" style="font-family:monospace;"><span style="color: #ddbb00;">&amp;#60;</span>SCRIPT LANGUAGE = &quot;JavaScript&quot;<span style="color: #ddbb00;">&amp;#62;</span>
<span style="color: #ddbb00;">&amp;#60;</span>!--
function cargarFrame(#,#,#)
{
  parent.frames[1].location.href=numero1
  parent.frames[2].location.href=numero2
  parent.frames[3].location.href=numero3
}
function CambiarColor(num,valor)
{
  parent.frames[1].location.href= ?
  document.bgColor = valor
  document.write (&quot;El color ha cambiado&quot;)
}
//--<span style="color: #ddbb00;">&amp;#62;</span>
<span style="color: #ddbb00;">&amp;#60;</span>/SCRIPT<span style="color: #ddbb00;">&amp;#62;</span>
<span style="color: #ddbb00;">&amp;#60;</span>/head<span style="color: #ddbb00;">&amp;#62;</span>
<span style="color: #ddbb00;">&amp;#60;</span>body
<span style="color: #ddbb00;">&amp;#60;</span>form<span style="color: #ddbb00;">&amp;#62;</span>
<span style="color: #ddbb00;">&amp;#60;</span>p<span style="color: #ddbb00;">&amp;#62;&amp;#60;</span>INPUT TYPE=&quot;button&quot; VALUE = &quot;Arriba&quot;
onclick=&quot;CambiarColor(1,'#FF0000')&quot;<span style="color: #ddbb00;">&amp;#62;</span>
<span style="color: #ddbb00;">&amp;#60;</span>P<span style="color: #ddbb00;">&amp;#62;&amp;#60;</span>INPUT TYPE=&quot;button&quot; VALUE = &quot;EnMedio&quot;
onclick=&quot;CambiarColor(2,'#808000')&quot;<span style="color: #ddbb00;">&amp;#62;</span>
<span style="color: #ddbb00;">&amp;#60;</span>p<span style="color: #ddbb00;">&amp;#62;&amp;#60;</span>INPUT type=&quot;button&quot; VALUE = &quot;Abajo&quot;
onclick=&quot;CambiarColor(3,'#0000A0')&quot;<span style="color: #ddbb00;">&amp;#62;</span>
<span style="color: #ddbb00;">&amp;#60;</span>/form<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: #ddbb00;">&amp;#60;</span>/html<span style="color: #ddbb00;">&amp;#62;</span></pre></description>
		</item>
		<item>
			<title>leon_java23 on "ingresar un numero d 4 cifras"</title>
			<link>http://www.dudasprogramacion.com/topic/ingresar-un-numero-d-4-cifras#post-625</link>
			<pubDate>Fri, 24 Sep 2010 19:57:59 +0000</pubDate>
			<dc:creator>leon_java23</dc:creator>
			<guid isPermaLink="false">625@http://www.dudasprogramacion.com/</guid>
			<description><p>hola estoy comenzando un curso en java utilizando netbeans y me an dejado una tarea que bueno es la siguiente: INGRESAR UN numero de 4 cifras y calcular unidades decenas centenas y millares y mostrar la suma de sus cifras.</p>
<p>espero y alguien me pueda ayudar.<br />
muchas gracias!!<br />
saludos!
</p></description>
		</item>
		<item>
			<title>Tom on "Recoger Datos"</title>
			<link>http://www.dudasprogramacion.com/topic/recoger-datos#post-608</link>
			<pubDate>Wed, 01 Sep 2010 17:48:32 +0000</pubDate>
			<dc:creator>Tom</dc:creator>
			<guid isPermaLink="false">608@http://www.dudasprogramacion.com/</guid>
			<description><p>Hola, soy bastante nuevo en esto del javascript y tengo una duda q no creo q resulte demasido dificiles para vosotr@s</p>
<p>Me gustaría saber cómo puedo recoger una variable de una página anterior, y luego escribirla por pantalla.</p>
<p>Supongo q después de recogerla debo hacer document.write(variable) ¿no??</p>
<p>Ah!! una cosa, tengo una página en asp con javascript y la paso asi:</p>
<pre class="html4strict" style="font-family:monospace;"><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> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;formulario.asp?dinero=&amp;#60;%=sum%&quot;</span>&gt;</span><span style="color: #ddbb00;">&amp;#62;</span><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></pre>
<p>¿cómo recojo esa variable??<br />
Gracias muchas
</p></description>
		</item>
		<item>
			<title>fernad on "Eliminar opción vuelta atrás"</title>
			<link>http://www.dudasprogramacion.com/topic/eliminar-opcion-vuelta-atras#post-599</link>
			<pubDate>Tue, 24 Aug 2010 11:50:12 +0000</pubDate>
			<dc:creator>fernad</dc:creator>
			<guid isPermaLink="false">599@http://www.dudasprogramacion.com/</guid>
			<description><p>Puedo evitar que cuando el usuario de al botón de vuelta atrás en el navegador. Este no navegue a la página previa y se quede en la actual.</p>
<p>Alguien me puede orientar por dónde tirar.</p>
<p>Gracias.
</p></description>
		</item>
		<item>
			<title>jorge2mendez on "Funcion"</title>
			<link>http://www.dudasprogramacion.com/topic/funcion#post-596</link>
			<pubDate>Mon, 23 Aug 2010 11:14:03 +0000</pubDate>
			<dc:creator>jorge2mendez</dc:creator>
			<guid isPermaLink="false">596@http://www.dudasprogramacion.com/</guid>
			<description><p>Hola a todos espero que me podais ayudar, bueno os cuento lo que necesito.<br />
Yo tengo un formulario con 3 botones uno ALTA, MODIFICA , BAJA.<br />
necesito una funcion que al pinchar en alta se vaya a otra pagina, al pinchar en modifica se vaya a otra y en vaja lo mismo.Espero que me podais ayudar.</p>
<pre class="html4strict" style="font-family:monospace;"><span style="color: #ddbb00;">&amp;#60;</span>html<span style="color: #ddbb00;">&amp;#62;</span>
<span style="color: #ddbb00;">&amp;#60;</span>head<span style="color: #ddbb00;">&amp;#62;</span>
<span style="color: #ddbb00;">&amp;#60;</span>script language=&quot;JavaScript&quot;<span style="color: #ddbb00;">&amp;#62;</span>
<span style="color: #ddbb00;">&amp;#60;</span>/script<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>
&nbsp;
<span style="color: #ddbb00;">&amp;#60;</span>form name=&quot;frm_mandar&quot; action=&quot;modificar.phtml&quot; method=&quot;POST&quot;<span style="color: #ddbb00;">&amp;#62;</span>
&nbsp;
<span style="color: #ddbb00;">&amp;#60;</span>input type=&quot;button&quot; name=&quot;alta&quot; class=&quot;texto&quot; value=&quot;DAR DE ALTA&quot; onclick=&quot;javascript:submit();&quot;<span style="color: #ddbb00;">&amp;#62;</span>
&nbsp;
<span style="color: #ddbb00;">&amp;#60;</span>input type=&quot;button&quot; name=&quot;modifica&quot; class=&quot;texto&quot; value=&quot;MODIFICAR&quot; onclick=&quot;javascript:submit();&quot;<span style="color: #ddbb00;">&amp;#62;</span>
&nbsp;
<span style="color: #ddbb00;">&amp;#60;</span>input type=&quot;button&quot; name=&quot;baja&quot; class=&quot;texto&quot; value=&quot;DAR DE BAJA&quot; onClick=&quot;javascript:submit();&quot;<span style="color: #ddbb00;">&amp;#62;&amp;#60;</span>/form<span style="color: #ddbb00;">&amp;#62;</span>
<span style="color: #ddbb00;">&amp;#60;</span>/body<span style="color: #ddbb00;">&amp;#62;</span>
<span style="color: #ddbb00;">&amp;#60;</span>/html<span style="color: #ddbb00;">&amp;#62;</span></pre>
<p>Bueno este es mi codigo espero que me podais ayudar.Bueno gracias y saludos a todos.
</p></description>
		</item>
		<item>
			<title>Nemesis on "Saber tamaño (height) de una tabla"</title>
			<link>http://www.dudasprogramacion.com/topic/saber-tamano-height-de-una-tabla#post-578</link>
			<pubDate>Fri, 06 Aug 2010 11:15:47 +0000</pubDate>
			<dc:creator>Nemesis</dc:creator>
			<guid isPermaLink="false">578@http://www.dudasprogramacion.com/</guid>
			<description><p>Es posible controlar el tamaño de una tabla &#60;table&#62; con javascript... necesito comparar el tamaño de dos tablas... y si una es mayor que otra... que realice una funcion....<br />
mas o menos seria asi... </p>
<pre class="javascript" style="font-family:monospace;"><span style="color: #000066; font-weight: bold;">if</span> table1.<span style="color: #660066;">height</span> <span style="color: #339933;">&amp;</span>#<span style="color: #CC0000;">60</span><span style="color: #339933;">;</span> table2.<span style="color: #660066;">height</span> then
...
<span style="color: #660066;">end</span> <span style="color: #000066; font-weight: bold;">if</span></pre>
<p>Pero no se como saber el tamaño del objeto tabla de html.</p>
<p>Saludos,
</p></description>
		</item>
		<item>
			<title>ManelM on "Problema con arrays"</title>
			<link>http://www.dudasprogramacion.com/topic/problema-con-arrays#post-567</link>
			<pubDate>Sat, 31 Jul 2010 18:45:25 +0000</pubDate>
			<dc:creator>ManelM</dc:creator>
			<guid isPermaLink="false">567@http://www.dudasprogramacion.com/</guid>
			<description><p>Hola a todos,</p>
<p>Mi problema tiene que ver con el manejo de arrays. Estoy desarrollando una aplicación en la que por motivos muy largos de explicar necesito "pasarme" una serie de arrays de una pantalla a otra. Concretamente, la pantalla principal muestra un grid de datos editables, pero cada registro debe tener asociado un campo "comentarios" que es largo y no cabe en el grid. He diseñado un mecanismo para que este campo largo aparezca en una ventana nueva. Cada "comentario" se guarda en un array de 3 x num de registros y tengo varios arrays así (ya que en realidad tengo varios grids).</p>
<p>Bien, para cargar el valor del campo en la ventana nueva llamo a una funcion que declara una referencia local a array y en funcion de un parametro lo apunta a uno de los arrays del opener (la ventana principal). Cuando el usuario le da a guardar se asigna el valor a la columna correspondiente y se cierra la ventana. Esto funciona perfectamente, al comprobar el valor correspondiente desde la pantalla principal, se ha guardado el nuevo valor.</p>
<p>El problema aparece cuando el registro no tenia comentario asociado. En este caso se tiene que anñadir una fila al array y guardar los datos (para cada registro se guardan 3 datos en 3 columnas: el id, el comentario y si ha sido modificado). Esto lo hace perfectamente y si, al final de la rutina en la que se guarda (que esta en la ventana secundaria) hacemos un alert del array el valor es el que tiene que ser. En cambio, cuando intento acceder al nuevo registro desde la pantalla principal me da un error que no habia visto antes, en concreto el error es: "Error: El destinatario (servidor [no una aplicación de servidor]) no está disponible ni presente; las conexiones no son válidas; la llamada no se ejecutó"</p>
<p>La verdad es que no veo qué estoy haciendo mal, pero espero que a alguno se os ocurra algo....
</p></description>
		</item>

	</channel>
</rss>

