Thursday, 17 August 2017

wait 5 sec

$( "#yourbutton" ).on( "click", function(event) { var url = $(this).attr('href'); setTimeout("loadPage(url)", 10000); event.preventDefault(); }); function loadPage(url){ window.location.href = url; }
asdfa