Javascript输入汉字自动转换为首字母的拼音码
摘要:
<script language="javascript" type="text/javascript"> function getPYCode(str) { var result = ""; for (var i = 0; i < str.length; i++) { result += getPY(str.charAt(i).toString()) } document.getElementById("lblResult").innerHTML = result}function getPY( 阅读全文
posted @ 2012-12-01 15:00 jQing 阅读(1345) 评论(0) 推荐(0) 编辑