This has got to be something simple. I searched the internet and only found syntax errors as the cause of this problem, but I can\'t find a syntax error.
Here\'s the
The hi function is only defined in the ready block. Outside, it doesn't exist anymore.
hi
ready
You don't need to wrap function definitions in .ready(), so just remove it. Alternatively, define the function like this:
.ready()
window.hi = function() {...}