ali_2kool2002 Posted February 22, 2007 Share Posted February 22, 2007 hi im using 2 frames, 1 has a button which updates another frame .. can anyone code something that would refresh a page after a button is clicked on another page,, thanks Link to comment https://forums.phpfreaks.com/topic/39642-refresh-a-page/ Share on other sites More sharing options...
Patrick3002 Posted February 22, 2007 Share Posted February 22, 2007 <script language="javascript"> document.write('<form><input type=button value="Refresh" onClick="history.go()"></form>') </script> Or to make a link with that you can do: <a href='javascript:history.go()'>Click here</a> Hope this helps. Link to comment https://forums.phpfreaks.com/topic/39642-refresh-a-page/#findComment-191365 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.