Skip to content

Instantly share code, notes, and snippets.

View dbednall's full-sized avatar
🌸

David Bednall dbednall

🌸
View GitHub Profile
@dbednall
dbednall / index.html
Last active May 24, 2019 10:06
Page with jquery to repeatedly ajax on some milisecond interval and update a div with the contents of info.txt
<html><head><title>refresher</title><script src="http://code.jquery.com/jquery-latest.js"></script><script>
(function($){
$(document).ready(function(){
$.ajaxSetup({
cache: false,
});
function update(){
$("#the_div").load('info.txt').unwrap().wrap('<h1></h1>');
$("#stamp").text(Date().toLocaleString());

Keybase proof

I hereby claim:

  • I am dbednall on github.
  • I am dbednall (https://keybase.io/dbednall) on keybase.
  • I have a public key ASAd2SS3kAqx5DEpYgob_bVlNP_ilTFnVUpt9sKp4-olUgo

To claim this, I am signing this object: