JavaScript Reference/Javascript Methods/fromCharCode

Материал из Web эксперт
Перейти к: навигация, поиск

"fromCharCode()" Example

    
<html>
<body>
<button onclick="alert(String.fromCharCode(69,80));">built string from Char Code range</button>
</body>
</html>



"fromCharCode()" is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |String                                                        |
+----------------+--------------------------------------------------------------+



"fromCharCode()" Syntax, Parameters and Note

Note:
Combining the characters.
    
Syntax:
    
stringName.fromCharCode(paramN, . . . paramN)
    paramN   Required; a Unicode value.