-
SitePoint Enthusiast
refresh button
hello
trying to make a simple refresh button
tried this...
<a href="#" onClick="window.location.href = window.location.href;">
and it works but there is php on the page and it does'nt remake the call to the server
how do i force it to refresh by clicking a button like the browser refresh button.
thanks in advance
garrett
-
Change it to onClick="window.location.reload()"
ck :: bringing chris to the masses.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks