![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 71 Pomógł: 0 Dołączył: 10.03.2004 Skąd: z duszy :] Ostrzeżenie: (20%) ![]() ![]() |
witam wszystkich,
bardzo potrzebuje tak oprogramowac grupy dwoch checkboxow w formularzu aby zachwoywywaly sie jak radiobuttony, tzn onclick, if !checked then zaznacz && odznacz drugi... itd (IMG:http://forum.php.pl/style_emoticons/default/smile.gif) bede bardzo wdzieczny za malego gotowca serdecznie pozdrawiam |
|
|
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 91 Pomógł: 0 Dołączył: 25.02.2004 Ostrzeżenie: (0%) ![]() ![]() |
[xml:1:3d14b34544]<script type="text/javascript">
function check() { if (document.test.check_1.checked == true) { document.test.check_1.checked = true; document.test.check_2.checked = false; } } function check2() { if (document.test.check_2.checked == true) { document.test.check_1.checked = false; document.test.check_2.checked = true; } } </script>[/xml:1:3d14b34544] [xml:1:3d14b34544]<form name="test"> <input type="checkbox" name="check_1" onClick="check()"> <input type="checkbox" name="check_2" onClick="check2()"> </form>[/xml:1:3d14b34544] |
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 71 Pomógł: 0 Dołączył: 10.03.2004 Skąd: z duszy :] Ostrzeżenie: (20%) ![]() ![]() |
podziekowal (IMG:http://forum.php.pl/style_emoticons/default/laugh.gif)
|
|
|
![]() ![]() |
![]() |
Aktualny czas: 23.08.2025 - 17:40 |