Login
·
Signup
Home
»
XtGem
»
Questions about service
»
About: JavaScript
» View post
Waplocus
BokurawANIME
HTML:
<a href="#" class="yourlink"> Click Here </a>
JS:
<script> $('a.yourlink').click (function(e) { e.preventDefault(); window.open('http://yoururl1.com'); window.open('http://yoururl2.com'); }); </script>
#
2017-04-23 08:23 ·
(0)
Home
»
XtGem
»
Questions about service
»
About: JavaScript
» View post
Online: Guests: 1
Log in