Advertisement
Mooash

PHP Form

Apr 9th, 2012
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.61 KB | None | 0 0
  1. <meta http-equiv="Cache-Control" content="no-cache" />
  2. <meta http-equiv="Pragma" content="no-cache" />
  3. <meta http-equiv="Expires" content="0" />
  4. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.js" type="text/javascript"></script>
  5. <center><div id="cache">
  6. <form action="javascript:fixcache()" method="post" id="form">
  7. <input type="Submit" value="Fix Cache"/>
  8. </form>
  9. </div></center>
  10. <script type="text/javascript">
  11. function fixcache()
  12. {
  13.     document.getElementById("cache").innerHTML = "<img src=./images/loading.gif width=30 height=30/>"
  14.     $('#cache').load('./scripts/cache.php');
  15. }
  16. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement