Xiaobian to share with how to set Input as a read-only effect through disabled and readonly, I believe that most people don’t know much, so share this article to everyone, I hope everyone will read this article. Big gain, let’s take a look at it!
There are two ways to realize the read-only effect of INPUT: Disabled and ReadOnly.
Natural two effects can only read can’t edit, but both are very different.
Disabled Description This INPUT is invalid, and its value will not be passed to any program, such as ASP, PHP, etc.
Readonly is only unable to edit and does not affect the delivery of its value.
How is the DISABLED and READOONLY INPUT is set to all content of the read-only effect, thank you for reading! I believe everyone has a certain understanding, I hope to share the content of everyone, if you want to learn more knowledge, please pay attention to Tumi Yun Industry News Channel!