The binding blur event of div. When the child element input is clicked, the blur event of div will be triggered. How to prevent it?

The binding blur event of

div. When the child element input is clicked, the blur event of div will be triggered. How to prevent

Jul.09,2021

add ev.cancelBubble = true, to input to cancel bubbling


add stop bubbling to the input click event
inputClick (e) {
e.stopPropagation ();
}


the answer above, one is non-ie, the other is the event bubbling,

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e4d71b-44f50.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e4d71b-44f50.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?