...

View Full Version : refresh page on a button click



harrycool
03-16-2005, 03:19 PM
this should be quick and simple. i need to reload a page on a button click. what's the code? :p

codegoboom
03-16-2005, 04:09 PM
For IE, you may use: document.execCommand("Refresh")

Otherwise, something like <a href="?">refresh caused by query</a> might actually work in several browsers, I'm guessing...


...and of course, that would be no different than: onclick="document.location=document.location" --apart from requiring scripting... ;)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum