Skip to content

Instantly share code, notes, and snippets.

@mathfur
Created May 16, 2010 09:37
Show Gist options
  • Save mathfur/402790 to your computer and use it in GitHub Desktop.
Save mathfur/402790 to your computer and use it in GitHub Desktop.
<html>
<head>
<script type="text/javascript" src="jquery.js"></script>
</head>
<body>
hello
<div id="output">output</div>
<script>
$(function(){
$.get("file:///C:/usr/tmp/in",function(e){
$("#output").html(e.replace(/\n/g,"<br/>"));
});
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment