I have a problem with linking in my table.
I use:
<script type="text/javascript">
jQuery(document).ready(function($) {
$(".clickable-row").click(function() {
window.document.location = $(this).data("href");
});
});
</script>
And it works without flaws, but I can't make links open in new window using standard html code:
target="_blank"
in:
<tr class="clickable-row" data-href="http://www.google.com/">
doesn't work
Any ideas?
open new window javascriptor similar terms? Questions asked here should show at least some research effort was attemptedwindow.open($(this).data("href"));