Created
March 15, 2012 19:47
-
-
Save robertjwhitney/2046404 to your computer and use it in GitHub Desktop.
well that was silly
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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