Ошибка jQuery/JavaScript ⇐ Jquery
-
Anonymous
Ошибка jQuery/JavaScript
$(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
$(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
Мобильная версия