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