Skip to content

Instantly share code, notes, and snippets.

@robertjwhitney
Created March 15, 2012 19:47
Show Gist options
  • Save robertjwhitney/2046404 to your computer and use it in GitHub Desktop.
Save robertjwhitney/2046404 to your computer and use it in GitHub Desktop.
well that was silly
loadHtml = (elem, url) ->
$.ajax
url: url
context: document.body
dataType: "html"
success: (data) ->
elem.html data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment