Created
April 15, 2017 05:44
-
-
Save arsho/b01d958580cbe94da61aef4ac4b88d65 to your computer and use it in GitHub Desktop.
Hide everything except a div using jQuery
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
$('body > :not(#d_content_inner)').hide(); //hide all nodes directly under the body | |
$('#d_content_inner').appendTo('body'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment