I am trying to allow the user to view multiple documents by clicking one button. I have the following, which works in Firefox, but can't get it to work in Chrome or IE:
`<a href ="#" class="yourlink">Click Here</a>
` <script type="text/javascript">
$('a.yourlink').click(function(e) {
e.preventDefault();
window.open('http://example.com/app/uploads/view/288/FILE_288_1476374478.pdf');
window.open('http://example.com/app/uploads/view/288/FILE_288_14763744781.pdf');
});
</script>`
Is there any other way to get this to work on all 3 browsers?