When you need to get parent element in Javascript

Member

titus

by titus , in category: JavaScript , 2 months ago

When you need to get parent element in Javascript πŸ™ƒ Looks like we are looking for a body element here 😝


1
$(".unlock-btn").parent().parent().parent().parent().parent().parent().text()


Facebook Twitter LinkedIn Telegram Whatsapp Pocket

no answers