当前位置:网站首页>Keyboard events and form events
Keyboard events and form events
2022-06-10 06:49:00 【Dunhuang Bi paintings】
Keyboard events and form events
Keyboard events
Key events
keydownPress down , In response to any key presskeypressPress down , Respond to keys and... That can input characters enter Key presskeyuplift , Respond to any key lifte.keyCode e.which
e.keyCodeGet the key value of the keye.whichGet the key value of the key , Or the key value pressed by the mouse
Form Events
onfocus onblur
Form elements get ( Lose ) The focus triggers , As long as non form elements can get focus , It can also trigger this event , such as a document etc. .
onchange
Triggered when the content changes , Generally used in input select On the label .
onsubmit
When you click submit After button ,form The tag will trigger this event .
onreset
When you click reset After button ,form The tag will trigger this event .
onselect
Triggered when the text in the form is selected , Not only form , Other tags can also trigger this event .
have access to .focus() .blur() .submit() .reset() Methods by js To complete various operations .
√. Case study or Homework
边栏推荐
- Nextcloud internal server error the server cannot complete your request workaround
- Three. JS series: write a first / third person perspective game
- Saccadenet: use corner features to fine tune the two stage prediction frame | CVPR 2020
- 用友OA漏洞复现手册
- Embedded development | common operations of EEPROM driver code
- 判斷進程是否有管理員權限
- Read in one second: the practical operation of increasing capital and shares of enterprises!
- Tensorflow experiment 10 - image flipping and zooming
- SQL practice: SQL solves problems for X consecutive days
- 面试当中该说的和不该说的——2022-05-23
猜你喜欢

Teleyecontroller v8.7 repair Wan cable and add display delay function

pyinstaller

Based on the relationship of corresponding points -- two point clouds eliminate (retain) duplicate points

618. How to prepare for the great promotion

Practical experience exchange meeting on digital transformation of manufacturing industry held in Yizhuang

Nextcloud internal server error the server cannot complete your request workaround

成功解决:ImportError: cannot import name ‘Imputer‘ from ‘sklearn.preprocessing

Daily practice: Longest symmetric string (pay attention to the last two methods)

Cannot open 'appears when Proteus simulates p * * * \lisa5476 Error in SDF '

Common string input stream collation (gets (), fgets, getline (), cin get()、cin. getline())
随机推荐
Principe de l'algorithme d'extraction de l'ensemble d'éléments fréquents associés à l'alarme dans le cadre de l'exploitation et de l'entretien intelligents
BOM browser object model
Qt--- create dialog box 3: implementation of shape variable dialog box
SM2 国密加密加签操作工具
bson,json
Tap series article 2 | Tanzu application platform v1.1 installation and configuration steps
Tensorflow experiment 10 - image flipping and zooming
Fix a button in the lower right corner
Yosezang original signature locator signaturetest v6.36 RLS release
Teacher lihongyi's notes on machine learning -4.1 self attention
ROS2+Gazebo11+Car+OpenCV巡线识别和速度转向控制学习
Go zero micro Service Practice Series (II. Service splitting)
Three. JS series: write a first / third person perspective game
想要粽子可以,但是得经过我的认证授权才可以
Address of the original blog
618 大促来袭,浅谈如何做好大促备战
判断进程是否有管理员权限
CMD of Jerry's AI protocol_ SET_ BT_ Addr [chapter]
Proteus仿真p时出现Cannot open‘***\LISA5476.SDF’的错误
CMD of Jerry's AI protocol_ SET_ BLE_ Visibility [chapter]