</P> <p> only some Chinese characters can be implemented. <br/> <input value = "no hate in autumn <>\#%{} | ^ ~ [] '&? + Abc "name =" source "> <input type =" button "value =" show "onclick =" trans () "> <p> <input name =" demo "size =" 30 "value =" practical, programming, technology, practice, proficient, tutorial "> <input type =" button "onclick =" sort (demo. value) "value =" sort "> </p> <p> enter the abbreviation of the name, as shown in Figure zsh) </p> <select name = "username" onkeydown = "spellList ()" onchange = "alert (this [selectedIndex]. sp) "> <option value =" 1 "> Zhang San </option> <option value =" 2 "> Zhang sanhuo </option> <option value =" 3 "> Li Si </ option> <Option value = "4"> Li sishui </option> </select> <p> <script> var sel = "", timer = null; function spellList () {/******** (qiushuiwuhen 2002-9-20) ***********/with (window. event) {with (srcElement) {if (keyCode <48) return; if (keyCode> 95) keyCode-= 48 sel + = String. fromCharCode (keyCode) window. status = sel for (I = 0; I <length; I ++) {if (! Options [I]. sp) {var tmp = "", arr = getSpell (options [I]. text ,"'"). split ("'") for (var j = 0; j
[Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]