![]() |
![]() |
![]()
Post
#1
|
|
![]() Grupa: Zarejestrowani Postów: 203 Pomógł: 0 Dołączył: 10.06.2004 Skąd: Gliwice Ostrzeżenie: (0%) ![]() ![]() |
Witam,
musze zrobić cos takeigo ze po zaznaczeniu CHECKBOXA dane z pola INPUT (all_nazwa_tresc) przenosza sie do innych inputów (nazwa1, nazwa2). mam coś takeigo ale nie chce dzialac: Kod function nazwa_all(i,ile){
if(document.getElementById('nazwa_all').checked){ for(var i=i; i<ile; i++){ document.getElementsByName[0]('nazwa' + i + '').innerHTML=document.getElementById('nazwa_all_tresc').value; } } } //... <input type="checkbox" name="all_nazwa" id="all_nazwa" onclick="nazwa_all()"> Zastosuj tą samą nazwę do wszystkich zdjęć: <input type="text" name="all_nazwa_tresc"> //...i tutaj sa te inputy: <td><input type="text" name="nazwa'.$i.'"> </td> <td><input type="text" name="nazwa'.$i.'"> </td> <td><input type="text" name="nazwa'.$i.'"> </td> <td><input type="text" name="nazwa'.$i.'"> </td> -------------------- |
|
|
![]() |
![]()
Post
#2
|
|
![]() Grupa: Moderatorzy Postów: 4 465 Pomógł: 137 Dołączył: 26.03.2004 Skąd: Gorzów Wlkp. ![]() |
Załapałeś sie na niemal gotowca.
![]()
Pozdrawiam. -------------------- To think for yourself you must question authority and
learn how to put yourself in a state of vulnerable, open-mindedness; chaotic, confused, vulnerability, to inform yourself. Think for yourself. Question authority. |
|
|
![]()
Post
#3
|
|
![]() Grupa: Zarejestrowani Postów: 203 Pomógł: 0 Dołączył: 10.06.2004 Skąd: Gliwice Ostrzeżenie: (0%) ![]() ![]() |
Niemal gotowiec cos niestety nie funkcjonuje
![]() Zrobiłem tak jak napisales ale nic nie dziala...nawet sam twoj kod tez nie chce ruszyc:P -------------------- |
|
|
![]()
Post
#4
|
|
![]() Grupa: Moderatorzy Postów: 4 465 Pomógł: 137 Dołączył: 26.03.2004 Skąd: Gorzów Wlkp. ![]() |
Może Cię rozczaruje, ale ten kod działa. Pod FF oraz pod Opera (są jakieś błedy ale działa).
Jeśli nie działa pod IE, to wybacz, ale nie dysponuję "tym czymś" i nie sprawdzę. Klikałeś na ten checkbox? Pozdrawiam -------------------- To think for yourself you must question authority and
learn how to put yourself in a state of vulnerable, open-mindedness; chaotic, confused, vulnerability, to inform yourself. Think for yourself. Question authority. |
|
|
![]()
Post
#5
|
|
![]() Grupa: Zarejestrowani Postów: 203 Pomógł: 0 Dołączył: 10.06.2004 Skąd: Gliwice Ostrzeżenie: (0%) ![]() ![]() |
pod FF dziala...masz racje, ale pod badzIEwiem nie.
Klikalem. -------------------- |
|
|
![]() ![]() |
![]() |
Aktualny czas: 20.08.2025 - 13:48 |