Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Re: checked/unchecked checkbos :)


Message #1 by "nope" <pimpman12@h...> on Tue, 11 Feb 2003 06:36:57
	A mail from 2001 !  You've really done your research :-)

	That code won't work because his parentheses are wrongly placed.
That should be :
function unk() {
	var un =3D"Unknown"
	if (document.fixture.unknown.checked) {
		document.fixture.gm_server.clear()
		document.fixture.gm_server.value=3Dun
		document.fixture.unknown.checked=3Dfalse
	}
}

> -----Message d'origine-----
> De : nope [mailto:pimpman12@h...]
> Envoy=C3=A9 : mardi 11 f=C3=A9vrier 2003 07:37
> =C3=80 : javascript
> Objet : [javascript] Re: checked/unchecked checkbos :)
>
>
> Can you post the script you used to make it work?
>
>
> > ignore this ive done it
> >
> > ----- Original Message -----
> > From: "PeaCey" <peacey_69@h...>
> > To: "javascript" <javascript@p...>
> > Sent: Saturday, June 23, 2001 1:55 AM
> > Subject: [javascript] checked/unchecked checkbos :)
> >
> >
> > | is there a way to uncheck a check box as soon as its checked ?
> > | sorta like a button?
> > |
> > | weird request i know :D
> > | just wondering really
> > |
> > | I tried
> > |
> > | function unk() {
> > | var un =3D"Unknown"
> > |  if (document.fixture.unknown.checked) {
> > |    (document.fixture.gm_server.clear)
> > |    (document.fixture.gm_server.value=3Dun)
> > |    (document.fixture.unknown.checked=3Dfalse)
> > |      }
> > | }
> > |
> > | but it didnt work
> > |
> > |
> > | Kev

  Return to Index