Article View: chile.comp.programacion
Article #3058Re: ayuda con javascript
From: Rickoj
Date: Fri, 27 May 2005 01:03
Date: Fri, 27 May 2005 01:03
20 lines
1522 bytes
1522 bytes
En las news:d75odp$hlm$1@news1.nivel5.cl, a gato2005_cl se le ocurrio tipear: > οΏ½sera form[0].nombre.checked=true;? no que form[0], indica el primer elemento del form? en este caso no deberia ser form[i] (i desde el numero que pertenece al formulario) onda si esta asi <form> <input type=text ...> <input type=checkbox > <input type=checkbox > <input type=checkbox > <input type=checkbox > entonces tendrias que hacer form[i].nombre.checked=true en este casi i desde 1 hasta 4 como me quede con la duda lo probe y asi me funciono, tambien puedes usar document.nombre.elements[i]
Technical Details
Message-ID:
<d75rkk$ilk$1@news1.nivel5.cl>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.kjsl.com!news1.nivel5.cl!not-for-mailReferences:
<d75hqe$fr6$1@news1.nivel5.cl> <d75odp$hlm$1@news1.nivel5.cl>Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,47254f424c5fc3b1 X-Google-Attributes: gid1593cb,public X-Google-Language: SPANISH,ASCII Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.kjsl.com!news1.nivel5.cl!not-for-mail From: "Rick_oj" <rick_oj@[sin-esto]tutopia.com> Newsgroups: chile.comp.programacion Subject: Re: ayuda con javascript Date: Thu, 26 May 2005 21:03:13 -0400 Organization: Varios Lines: 22 Message-ID: <d75rkk$ilk$1@news1.nivel5.cl> References: <d75hqe$fr6$1@news1.nivel5.cl> <d75odp$hlm$1@news1.nivel5.cl> NNTP-Posting-Host: pc-97-201-120-200.cm.vtr.net X-Trace: news1.nivel5.cl 1117155797 19124 200.120.201.97 (27 May 2005 01:03:17 GMT) X-Complaints-To: news@news1.nivel5.cl NNTP-Posting-Date: Fri, 27 May 2005 01:03:17 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1478 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478