Hello,
My problem is with this countdown code that I found and it works perfect when I open the page in google chrome but in firefox it does not work. Any solution? this is the code.
Thank you
It also tells me this alert = "missing radix parameter"
CODE:
$w.onReady(function () {
$w(“#countbox”).hide();
var segun;
var La_fecha;
var La_fecha_total;
var segundos;
var dias;
var horas;
var minutos;
$w(“#countbox”).show();
function predica()
{
La_fecha = new Date();
La_fecha_total = new Date (" Dec 9 18:00:00:2018");
segundos = (La_fecha_total - La_fecha) / 1000;
dias = parseInt(segundos / 86400);
segundos = segundos % 86400;
horas = parseInt(segundos / 3600);
segundos = segundos % 3600;
minutos = parseInt(segundos / 60);
segun = parseInt(segundos % 60);
$w(“#counttext3”).text = String(dias);
$w(“#counttext4”).text = String (horas);
$w(“#counttext5”).text = String (minutos);
$w(“#counttext6”).text = String (segun);
}
setInterval(function()
{
predica();
}, 1000);
});
Many Thanks