As stated in the title I'm having some issues with my JS.
js:
$("#bg2InsideFb").click(function () {
$("#fbLink").click();
});
html:
<div id="bg2InsideFb">
<p id="fbIcon">
<img src="@routes.Assets.at("images/mobile/login/fblogin-ico.png")" alt="Facebook"/>
</p>
<p class="pl20">
<a id="fbLink" href="@fb.authenticationUrl"> @Messages("review.form.facebook.login") </a>
</p>
</div>
<p class="floatleft f13">
@Messages("review.form.facebook.term")
</p>
This results Chrome to crash and Firefox to throw a too much recursion error. What is happening and how do I solve this?