For example, each li binding the click event of ul, li, the class name of the same, but only one of them, a other don't move
CodePudding user response:
Traversal access to the dom, add click event to every domCodePudding user response:
targetCodePudding user response:
Loop binding,,,,