Add the attribute value hideFocus or HideFocus=true in the input
2. Read-only text box contentAdd attribute value readonly in input
3. Prevent the TEXT document from being cleared back (the style content can be used as a class reference)<INPUT style=behavior:url(#default#savehistory); type=text id=oPersistInput>
4. The ENTER key allows the cursor to move to the next input box<input onkeydown=if(event.keyCode==13) event.keyCode=9 >
5. Only in Chinese (with flashing)<input onkeyup=value=value.replace(/[ -~]/g,'') onkeydown=if(event.keyCode==13) event.keyCode=9>
6. Only numbers (with flashes)<input onkeyup=value=value.replace(/[^/d]/g,'') onbeforepaste=clipboardData.setData('text',clipboardData.getData('text').replace(/[^/d]/g,''))>
7. Only numbers (no flashing)<input style=ime-mode:disabled onkeydown=if(event.keyCode==13) event.keyCode=9 onKeyPress=if ((event.keyCode<48 event.keyCode>57)) event.returnValue=false>
8. Only enter English and numbers (with flashing)<input onkeyup=value=value.replace(/[/W]/g,'') onbeforepaste=clipboardData.setData('text',clipboardData.getData('text').replace(/[^/d]/g,''))>
9. Blocking input method<input type=text name=url style=ime-mode:disabled onkeydown=if(event.keyCode==13) event.keyCode=9>
10. Only enter numbers, decimal points, minus signs (-) characters (no flashing)<input onKeyPress=if (event.keyCode!=46 && event.keyCode!=45 && (event.keyCode<48 event.keyCode>57)) event.returnValue=false>
11. Only two decimal places and three decimal places (with flash)<input maxlength=9 onkeyup=if(value.match(/^/d{3}$/)) value=value.replace(value,parseInt(value/10)) ;value=value.replace(//./d*/./g,'.') onKeyPress=if((event.keyCode<48 event.keyCode>57) && event.keyCode!=46 && event.keyCode!=45 value.match(/^/d{3}$/) //./d{3}$/.test(value)) {event.returnValue=false} id=text_kfxe name=text_kfxe>