![]() |
![]() |
-Gość- |
![]()
Post
#1
|
Goście ![]() |
Mam taki kod:
Kod <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" lang="pl"> <head> </head> <body> <div onclick="return WyswietlDiv(this);"><a href="">Edytuj</a></div> <div id="div_edycja" style="visibility: hidden;">TEST</div> <script type="text/javascript"> function WyswietlDiv(form) { document.getElementById("div_edycja").style.visibility="visible"; } </script> </body> </html> Wyświetl on div#div_edycja tylko na chwilę gdy kliknę w link "Edytuj". Co należałoby poprawić w tym kodzie, żeby ten DIV były wyświetlany już na trwałe od momentu kliknięcia (a nie tylko na chwilę)? |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 3 034 Pomógł: 366 Dołączył: 24.05.2012 Ostrzeżenie: (0%) ![]() ![]() |
|
|
|
![]() ![]() |
![]() |
Aktualny czas: 23.08.2025 - 17:09 |