JavaScript String 对象
fixed() 方法用于把字符串显示为打字机字体。
</>codestringObject.fixed()
在本例中,"Hello world!" 将被显示为打字机文本:
</>code<script type="text/javascript">var str="Hello world!"document.write(str.fixed())</script>
如对本文有疑问,请提交到交流论坛,广大热心网友会为你解答!! 点击进入论坛