Hello, I want to refresh my test.php page after each and every 5 seconds. I was playing around with periodical function but it seems i am not writing it properly.
here is my code-
<script type="text/javascript">
window.addEvent('domready', function(){
$('content').load('test.php').
periodical(5000);
});
</script>
</head>
<body>
<div id="content">
Loading content...</div>
Can anyone please tell me how can i refresh(auto) my page with
mootools?
Thanks in advance.
