![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 332 Pomógł: 6 Dołączył: 27.11.2008 Ostrzeżenie: (0%) ![]() ![]() |
Zrobiłem tak kod
Kod <script type="text/javascript"> function dodaj_wiersz(dodaj){ var wiersz = <tr> <td>Wiersz</td> <td>Wiersz</td> <td>Wiersz</td> </tr>; var dodaj = document.getElementById(dodaj); dodaj.appendChild(wiersz); } </script> <form method="post"> <table> <tr> <td>Kolumna</td> <td>Kolumna</td> <td>Kolumna</td> </tr> <div id="div1"></div> </table> <div> <input type="button" value="Dodaj_wiersz" onclick="dodaj_wiersz('dodaj');" /> </div> </form> który ma dodawać wiersze do tabeli i ten kod nie chce działać i nie wiem co źle zrobiłem. Ten post edytował arzach 28.11.2008, 12:43:19 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 17.09.2025 - 13:57 |