🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.programacion
Article #3057

Re: ayuda con javascript

#3057
From: gato2005_cl
Date: Fri, 27 May 2005 00:08
24 lines
1481 bytes
�sera form[0].nombre.checked=true;?

+mArkO+ escribi�:
> 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: <d75odp$hlm$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-mail
References: <d75hqe$fr6$1@news1.nivel5.cl>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,47254f424c5fc3b1
X-Google-Attributes: gid1593cb,public
X-Google-Language: SPANISH,CP1252
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: gato2005_cl <gato2005_clSINESTO@spymac.com>
Newsgroups: chile.comp.programacion
Subject: Re: ayuda con javascript
Date: Thu, 26 May 2005 20:08:45 -0400
Organization: Varios
Lines: 24
Message-ID: <d75odp$hlm$1@news1.nivel5.cl>
References: <d75hqe$fr6$1@news1.nivel5.cl>
NNTP-Posting-Host: pc-178-51-86-200.cm.vtr.net
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: news1.nivel5.cl 1117152505 18102 200.86.51.178 (27 May 2005 00:08:25 GMT)
X-Complaints-To: news@news1.nivel5.cl
NNTP-Posting-Date: Fri, 27 May 2005 00:08:25 +0000 (UTC)
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: es-es, es
In-Reply-To: <d75hqe$fr6$1@news1.nivel5.cl>