Home >Web Front-end >HTML Tutorial >The difference between live and on when registering events when manually spelling html code_html/css_WEB-ITnose

The difference between live and on when registering events when manually spelling html code_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:49:51940browse

on works on existing DOM nodes, and live can also work on newly created nodes.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn