Created
September 30, 2009 19:21
-
-
Save adamhunter/198370 to your computer and use it in GitHub Desktop.
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
// javascript only implementation for document.write in an ajax call | |
<div class="re-write"></div> | |
<script type="text/javascript"> | |
document.write = function(text) { | |
$('.re-write:last').html(text) | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment