Created
July 14, 2017 06:31
-
-
Save FatihGoktas/3018576276fb22d881e2e90d87118ce0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="parent"> | |
<div class="child"> | |
Item 1 | |
</div> | |
<div class="child"> | |
Item 2 | |
</div> | |
<div class="child"> | |
Item 3 | |
</div> | |
</div> | |
<script> | |
$('.parent').children().last().remove(); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment