Skip to content

Instantly share code, notes, and snippets.

@elpuas
Created November 26, 2017 21:17
Show Gist options
  • Select an option

  • Save elpuas/979dbd363fbe6f7e8aca76f76571a852 to your computer and use it in GitHub Desktop.

Select an option

Save elpuas/979dbd363fbe6f7e8aca76f76571a852 to your computer and use it in GitHub Desktop.
detach and append in DOM
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