Home >Web Front-end >JS Tutorial >Summary of methods for synchronous input of two INPUTs Compatible with IE and Firefox_Form special effects

Summary of methods for synchronous input of two INPUTs Compatible with IE and Firefox_Form special effects

WBOY
WBOYOriginal
2016-05-16 18:54:371663browse

The first method can be implemented using onpropertychange. It only supports IE


[Ctrl A Select all Note: If you need to introduce external Js, you need to refresh to execute
]

The second option can be using onkeydown Event binding. But there will be one less letter

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