Last active
September 14, 2017 12:39
-
-
Save jasonglisson/0e1bcd37a2cbdab335e8 to your computer and use it in GitHub Desktop.
Click a link from another link's click - Note that the [0] is used before the click event
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
$('#prev-node-link').click(function(){ | |
$('.prev-next-link-prev a')[0].click(); | |
}); | |
$('#next-node-link').click(function(){ | |
$('.prev-next-link-next a')[0].click(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment