![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 56 Pomógł: 0 Dołączył: 18.01.2009 Ostrzeżenie: (0%) ![]() ![]() |
Witam,
mam kod <table id="1"> <tr id="2"> <td id="3" class="klikam">Wartość Aby pobrać id z td robie: $(document).on("click touchstart", "td.klikam", function (){ alert($(this).attr("id")); -> zwraca 3 // wszystko super Czy wywołując click po td.klikam jestem woogóle wstanie pobrać id z table i tr? Łysy 2005 |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 22.06.2025 - 01:18 |