I have the following HTML code :
<div class="action-button">
    <a href="/wp-login.php?loginFacebook=1&redirect=http://blabla.com" class="MyButton">Hello
    </a>
</div> 
Is it possible to call a javascript function (stored in a file) while redirecting instead of redirecting to a specific URL ?
The javascript file is in the same domain as the rest.
Thank you.
 
     
     
     
    