<body> <form> <table> <td><span>请输入中文字符串:</span><input type="text" size="30" value="万万保重"> <input type="button" value="查看拼音首字母缩写"> </td> </tr> </table> </form> <div> <span><a href="#uid23">陈晓薇</a></span> <span><a href="#uid23">张宁宁</a></span> <span><a href="#uid23">李序</a></span> <span><a href="#uid23">王昌凤</a></span> <span><a href="#uid23">刘奇印</a></span> <span><a href="#uid23">陈志鑫</a></span> <span><a href="#uid23">黄志华</a></span> <span><a href="#uid23">高跃华</a></span> <span><a href="#uid23">李呈新</a></span> <span><a href="#uid23">赵林</a></span> <span><a href="#uid23">刘建</a></span> <span><a href="#uid23">王缨</a></span> <span><a href="#uid23">白锡康</a></span> <span><a href="#uid23">张剑波</a></span> <span><a href="#uid23">林峰</a></span> </div> <br /> <br /> <div>通过姓名的首字母查找,保持页面拥有焦点,连续按下字母组合,例如:想查找“黄志华”,就可以连续按下字母:HZH</div> <div>筛选字母组合:</div> </body>
完整实例代码点击此处本站下载。