Home > Article > Web Front-end > 11 examples of advanced usage of web form element Input_HTML/Xhtml_Web page production
1. Cancel the dotted box when the button is pressed
Add the attribute value hideFocus or HideFocus=true to the input
2. Read-only text box content
Add the attribute value readonly in the input
3. Prevent the TEXT document from being cleared after going back (the style content can be used as a class reference)
4. The ENTER key can move the cursor to the next input box
5. Can only be in Chinese (with flashing)
6. Can only be numbers (with flashing)
7. Can only be numbers (no flashing)
8. only Can input English and numbers (with flashing)
9. Shield input method
10. Only numbers and decimal points can be entered. Minus sign (-) character (no flashing)
11. Only two decimal places and three decimal places can be entered (with flashing)