Last active
September 14, 2017 12:39
-
-
Save jasonglisson/269704a60a8bf786c97b to your computer and use it in GitHub Desktop.
Target text without container
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
$('.mailchimp-signup-subscribe-form div:first-of-type').contents().filter(function() { | |
return this.nodeType === 3; | |
}).wrap('<p class="description"></p>').end().filter( "br" ).remove(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment