Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

I want firstElementChild/lastElementChild and friends #519

Closed
domenic opened this Issue · 3 comments

3 participants

@domenic
Collaborator

They would be convenient. Recently had to use

var first = $(el).children().first()[0];

instead of

var first = el.firstElementChild;

and felt super-sad.

@domenic domenic added dom living standard and removed level3 labels
@DaQuirm

I felt super-sad too :crying_cat_face:.

@domenic domenic closed this in #1099
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.