Mr_Floppy
08-12-2003, 04:45 PM
I want to reload a page automaticly, without the user clicking a button after a task is done. How can I do this?
Mr_Floppy
Mr_Floppy
|
Click to See Complete Forum and Search --> : Reloading pager... Mr_Floppy 08-12-2003, 04:45 PM I want to reload a page automaticly, without the user clicking a button after a task is done. How can I do this? Mr_Floppy David Harrison 08-12-2003, 04:55 PM Well if you want to refresh the page upon a certain event, (eg. onclick event of a button), you can do this: onclick="location.reload();" But if you want to do it after a certain amount of time you wan use the non-js solution: <meta http-equiv="refresh" content="n;url=page.html"> where n is the delay in seconds and page is the page you want to send them to, (the meta tag one is good for slide shows). Edit: Hmm... you edited while I was posted, but still the principal is the same, onsomeevent="location.reload();". It just depends what the event is. webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |