Widget: Random: Difference between revisions
From The Lost Media Wiki
(Created page with "<script> $(document).ready(function() { $("#reloadable").load(location.href + " #reloadable"); var refreshId = setInterval(function() { $("#reloadable").load(loc...") |
No edit summary |
||
Line 1: | Line 1: | ||
<script> | <script> | ||
$(document).ready(function() { | $(document).ready(function() { | ||
$("#reloadable").load(location.href + " #reloadable"); | $("#reloadable").load(location.href + " #reloadable"); | ||
Line 6: | Line 6: | ||
}, 2000); | }, 2000); | ||
$.ajaxSetup({ cache: false }); | $.ajaxSetup({ cache: false }); | ||
}); | }); | ||
</script> | </script> |
Revision as of 08:33, 1 February 2018
<script> $(document).ready(function() { $("#reloadable").load(location.href + " #reloadable"); var refreshId = setInterval(function() { $("#reloadable").load(location.href + " #reloadable"); }, 2000); $.ajaxSetup({ cache: false }); }); </script>