How to set input prohibition in layui input box

藏色散人
Release: 2020-11-20 10:13:06
Original
10639 people have browsed it

How to disable input in the layui input box: first open the corresponding code file; then set the input box attribute to "disabled readonly class="layui-input layui-disabled"" to disable input.

How to set input prohibition in layui input box

Recommended: "layUI Tutorial"

layui input prohibition input function

<input type="text" name="mg_name" disabled readonly class="layui-input layui-disabled">
Copy after login

1. disabled

2. class = "layui-disabled"

3. readonly (this is optional)

The above is the detailed content of How to set input prohibition in layui input box. 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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template