Created
November 26, 2017 21:17
-
-
Save elpuas/979dbd363fbe6f7e8aca76f76571a852 to your computer and use it in GitHub Desktop.
detach and append in DOM
This file contains hidden or 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
| if ($(document).find('.ssl-employee-post').lenght == 0 ) { | |
| } else { | |
| var sslCatTitle = $('.ssl-employee-post').detach(); | |
| $('.header-area .inner .header-content').append(sslCatTitle); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment