I have a simple function in jQuery, however it is displaying the error:
Uncaught RangeError: Maximum call stack size exceeded
To illustrate, there are 2 or 3 links that I have on the page
<a id="islpronto_link" href="javascript:void(0)" class="bot botchat">Fale Conosco</a>
What is causing this error?
Below my code:
$('.botchat').click(function(){
$('#islpronto_link').click();
return;
});