![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 101 Pomógł: 0 Dołączył: 3.12.2005 Ostrzeżenie: (0%) ![]() ![]() |
witam, jak dostać się do interesującego mnie elementu?
chodzi o to this, które nie działa. |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 1 045 Pomógł: 5 Dołączył: 8.11.2004 Skąd: trójmiasto Ostrzeżenie: (0%) ![]() ![]() |
Kod <script>
var mN = document.getElementById('mainNav'); var mNa = mN.getElementsByTagName('a'); for(i=0; i<mNa.length; i++) { mNa[i].onclick = function() {alert(mNa.value)} } </script> Ten post edytował php programmer 5.02.2007, 11:59:24 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 8.10.2025 - 21:46 |