Professional Documents
Culture Documents
js¨/>
<script src =
¨https://ajax.googleapis.com/ajax/lbis/jquery/3.3.1/jquery.min.js¨/>
https://gyuguygyuiui.blogspot.com/p/cuenta-atras-para-redireccionar-var.html
**LEER ES IMPORTANTE ***
<script
src='https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.
js'/>
var totalTiempo=5;
var url="http://short.am/Keolju";
function updateReloj() {
$('#CuentaAtras').html("Redireccionando en "+totalTiempo+"
segundos");
if(totalTiempo==0) {
window.location=url;
}else{
totalTiempo-=1;
setTimeout("updateReloj()",1000);
}
$(document).ready(function(){
updateReloj();
});
</script>