Search This Blog

Thursday, December 13, 2018

Get title attribute using each in Jquery



$("#SiteMap1 a#lnkPage").each(function() {
console.log($(this).attr('title'));
var title = $(this).attr('title');
if (title != null)
{
debugger;
$("#title").text(title);
}

No comments:

Post a Comment

Validating to select in sequencial order using angular

    < input type = "checkbox" (change) = "handleSelectTaskItem($event, taskItem)" [checked] = " taskItem . i...