10 秒後に div フェードアウトを作成しようとしています。
いろいろ試してみましたが、タイマーが機能しません。
これはコードです:
$('#deletesuccess').show();
編集:
これは完全なコードです:
function refreshTable() {
//timestamp to get around ie caching issue
var tsTimeStamp= new Date().getTime();
$('#deletesuccess').show().fadeOut();
$.get('table.php',
{action: "get", time: tsTimeStamp},
function(data){
$('#customertable').html(data).fadeIn();
});
return true;
}
div を表示し、x 秒後に非表示にする必要があります。