我该怎么做,当我点击一个按钮,它会首先.fadeIn(0); .dealy(2000); .fadeOut(600); and say "Validating..."
那么它会说"Success fully log in"
并重定向到index.php?如何有两个时尚,延迟和淡出另一个?
我没有尝试这一点,但没有奏效:
function save() {
$('#save_first').html('Validating...');
$('#save_first').fadeIn(1);
$('#save_first').delay(2000);
$('#save_first').fadeOut(600);
$('#save_second').html('Success fully log in!');
$('#save_second').delay(2601);
}
HTML
header('Location: index.php');
exit();
你可以分享一些HTML的任何方式,使我能迅速的小提琴? – brbcoding