地址:/svn/other/Pinyin.js
使用方法:
<script src="Pinyin.js" type="text/javascript"></script><form><input type="text" name="hz" id="hz" οnblur="py.value=CC2PY(hz.value)"/><input type="text" name="py" id="py" /></form>
如果不想使用首字母大写,可以修改
return ucfirst(name); break;
为
return name; break;
如果觉得《js将中文转换成拼音可首字母大写》对你有帮助,请点赞、收藏,并留下你的观点哦!