Created
May 10, 2012 00:13
-
-
Save hanafiah/2649969 to your computer and use it in GitHub Desktop.
citation
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<script type="text/javascript"> | |
function ayam(){ | |
alert(document.getElementsByTagName("cite")[0].textContent); | |
} | |
</script> | |
</head> | |
<body> | |
<div>TODO write content</div> | |
<cite>itik</cite> | |
<input type="button" onclick="ayam();" value="test" /> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment