I am modifying the Allitems view of a list and want to select each row with a specific title and change the last cell of that row to show the thumbnail of an image with jquery.
var results = data.d.results;
for (var i = 0; i < results.length; i++) {
$("tr.ms-vb").filter(":contains('" + results[i].Title + "')").each(function() {
$("td.ms-vb-lastCell").append($("<img>").prop("websitelink/_t/" + results[i].Title + "_jpg.jpg"))
});
it make no changes or even errors.I have tried different classes for the selector, but none of them worked. does someone has any idea that what is wrong?