私のスクリプトは完全に正常に機能しています。ただし、コンテンツは新しいデータを取得するために自動的に更新されません。なんでそうなの?
function updateMsg() {
$.ajax({
url: "/recent/notifications/",
cache: false,
success: function(html){
$("#profile_notifarea_msgbox").html(html);
}
});
setTimeout('updateMsg()', 4000);
}
updateMsg();