Created
April 30, 2017 10:33
-
-
Save 7rin0/7a04db32f82e359fe23145300f0d7f22 to your computer and use it in GitHub Desktop.
Open all links inside an element using jQuery/JS
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
jQuery('.sidebar a').each(function(){ window.open($(this).attr('href'), '_blank'); }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment