hi I'm Solid
  • Home
  • About
Sign in Subscribe

jQuery

A collection of 1 post
Code

Getting the deepest element in jQuery

function deepest(e) { var $t = $(e).children(); while($t.length) { $t = $t.children(); } return $t.end(); } I had to deal with editing a title from a landing page as you completed a form. Since the page would create a metric ton of wrappers and it would vary every time, it
Jul 7, 2015 1 min read
Page 1 of 1
hi I'm Solid © 2023
Powered by Ghost