Created
September 12, 2014 09:47
-
-
Save yyandrew/71f4a96ec66681c1087e to your computer and use it in GitHub Desktop.
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
// get text for element without children text | |
var article_title_in_cn = $this.clone().children().remove().end().text().trim(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment