![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 256 Pomógł: 7 Dołączył: 1.01.2005 Ostrzeżenie: (0%) ![]() ![]() |
Mam 5 inputów o id='g5'. Czy da się je wszystkie zablokować naraz? Zrobiłem coś takiego
Kod function acc(group) { val = document.getElementById(group).disabled; if(val == true) { document.getElementById(group).disabled=false; } else { document.getElementById(group).disabled=true; } } Ale po wywołaniu funkcji Cytat acc("g5") blokuje się tylko pierwszy input (IMG:http://forum.php.pl/style_emoticons/default/sad.gif)
|
|
|
![]() ![]() |
![]() |
Aktualny czas: 23.08.2025 - 20:47 |