Article View: chile.comp.programacion
Article #3056ayuda con javascript
From: +mArkO+
Date: Thu, 26 May 2005 22:17
Date: Thu, 26 May 2005 22:17
19 lines
1282 bytes
1282 bytes
como se hace que dando click sobre un texto me seleccione todos los
elementos de un checkkbox?
que error hay en este codigo?
function seleccionar(){
var nombre;
for(x=1;x<=46;x++){
nombre="checkn_"+x;
nombre.form[0].checked=nombre.checked;
}
}
habiendo dentro de la pagina un form1 y 46 checkbox con nombre
checkn_1,checkn_2......
orientenme un poco porfa
Technical Details
Message-ID:
<d75hqe$fr6$1@news1.nivel5.cl>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!nntp-server.pubsub.com!news1.nivel5.cl!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,47254f424c5fc3b1,start X-Google-Attributes: gid1593cb,public X-Google-Language: SPANISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!nntp-server.pubsub.com!news1.nivel5.cl!not-for-mail From: "+mArkO+" <NOSPAMjoin.xtc@gmail.comNOSPAM> Newsgroups: chile.comp.programacion Subject: ayuda con javascript Date: Thu, 26 May 2005 18:17:06 -0400 Organization: Varios Lines: 21 Message-ID: <d75hqe$fr6$1@news1.nivel5.cl> Reply-To: "+mArkO+" <kitim@porta.com> NNTP-Posting-Host: pc-35-121-86-200.cm.vtr.net X-Trace: news1.nivel5.cl 1117145742 16230 200.86.121.35 (26 May 2005 22:15:42 GMT) X-Complaints-To: news@news1.nivel5.cl NNTP-Posting-Date: Thu, 26 May 2005 22:15:42 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441