Re: Problem se skriptem

From: Ladislav Pelcl (ladislav@pelcl.cz)
Date: 19. 01. 2001, 02:39 CET


> Nevite nekdo, jak v Java skriptu zkontrolovat, zda byl ci nebyl zatrzen
> Radio-button ve formulari?
> <INPUT TYPE="RADIO" NAME="test" VALUE="1">
> if (formular.test.value=="1")
> Pokud kontroluji value, tak mi to nebere.

Ta vlastnost je totiz checked:
if (document.formular.test.checked) alert('Checked');

Ladislav Pelcl - Laddobar
--
---< Welcome to the Desert of the Real.. >---
---< E-mail >---< ladislav@pelcl.cz >---< laddobar@cyber.cz >---
---< ICQ # >---< 36366729 >---
---< Web >---< http://laddobar.pelcl.cz/ >---
---< Home >---< http://matrix.cyberspace.cz/ >---



This archive was generated by hypermail 2.1.2 : 04. 09. 2001, 05:03 CEST