Share the core code for closing the input method when the focus enters the text box in JavaScript

黄舟
Release: 2017-09-22 09:39:43
Original
1526 people have browsed it

This article will share with you js to implement focus into the text box and close the input method. The code is simple and easy to understand, very good, and has reference value. Friends who need it can refer to it

js to implement focus into the text Close the input method in the box: imeMode

Things to be used: imeMode:xxx

has four parameters

active means the input method is Chinese

inactive means the input method is English

auto means open the input method (default)

disable means close the input method


   
Copy after login

Summarize

The above is the detailed content of Share the core code for closing the input method when the focus enters the text box in JavaScript. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!