<script type="text/javascript">
document.write("The Unicode for the first character is: " + str.charCodeAt(0) + "<br />")
document.write("The Unicode for the second character is: " + str.charCodeAt(1) + "<br />")
document.write("The Unicode for the third character is: " + str.charCodeAt(2))