Skip to content

Append DOM before last sibling

Using jQuery, you can append DOM (for example another sibling) before the last sibling the following code:

[sc name=”src” url=”https://stackoverflow.com/questions/30071861/append-before-last-child” ]

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.