วิธีการหาค่าของมันนั้น จะต้องใช้ คำสั่งเข้ามาช่วย
ตัวอย่าง
โค้ด: เลือกทั้งหมด
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
<script>
jQuery(document).ready(function(){
var testp = jQuery("#testp").parent();
console.log(testp);
alert(testp);
});
</script>
<table>
<tr>
<td id='testp'>1234</td>
</tr>
</table>