0
My scenario is the following, I have a link and I would like after clicking it after 3 seconds submit a form. I am trying the following
<a href="" target="_blank" id="acionabotao">Link</a>
<form method="post" action="acao.php">
<input name="" value="">
<button type="submit" id="clickatrasado">
</form>
$("#acionabotao").click(function(){
setTimeout(function() {
$("#clickatrasado").trigger('click');
}, 1000);
});