Ошибка jQuery/JavaScriptJquery

Программирование на jquery
Anonymous
Ошибка jQuery/JavaScript

Сообщение Anonymous »




$(function() {
$('#shortly').countdown({until: 12,
onExpiry: liftOff, onTick: watchCountdown});
});

$('#shortlyStart').click(function() {
shortly = new Date();
shortly.setSeconds(shortly.getSeconds() + 12.5);
$('#shortly').countdown('change', {until: shortly});
});

function liftOff() {
alert('We have lift off!');
}

function watchCountdown(periods) {
$('#monitor').text('Just ' + periods[5] + ' minutes and ' +
periods[6] + ' seconds to go');
}



Start



Подробнее здесь: https://stackoverflow.com/questions/506 ... ript-error

Вернуться в «Jquery»