Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- $(document).ready(function() {
- $(document).on('click', '.singleDownload', function() {
- var yourVar = $(this).closest('.collapse').prev().find('h3').text();
- console.log(yourVar);
- });
- });
- </script>
- function () {
- return yourVar;
- }
Add Comment
Please, Sign In to add comment