Created
April 26, 2011 00:47
-
-
Save mattn/941572 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<!DOCTYPE HTML> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8"> | |
<script> | |
window.onload = function() { | |
alert("[" + document.getElementById('foo').innerHTML + "]"); | |
} | |
</script> | |
</head> | |
<body> | |
{<pre id="foo"> | |
a | |
</pre>} | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment