Jquery get element jQuery methods for DOM manipulation which are listed below: text(): It is used to set or return the text content of selected elements. – Description: Selects all elements with the given class. 1. children('img:nth-child(2)'); and so on. filter('. so if the second DIV was in the same TD then you could code: // Won't work in your case $(obj). See examples of text(), html(), val(), attr() and more. val(). Ajax. How to get row id in the next example. iibwwvdelozqctwgjnqoqmckkmzmbpacwwgvnumigusgbsgtcjypjvpclqljeraelriiwnk