If I want to make the form non-input-capable, I set the form to: Copy code The code is as follows:style="cursor:not-allowed;" disabled But after setting it up like this, I found that there was no way to get the value in the background action. Finally, I searched on the Internet and found that replacing disabled with readonly can indeed pass the value to the background, but the form can get the focus again. Getting the focus makes people uncomfortable to watch. But the project is tight, so let’s leave it like this for now. After the form is set to disabled, the value cannot be passed to the background |
<<: UrlRewriter caching issues and a series of related explorations
>>: CSS to achieve dynamic secondary menu
There are several ways I know of to set anchor pos...
Detailed explanation of mysql exists and not exis...
Table of contents Portainer manages multiple Dock...
Table of contents 1. Introduction to NFS 2. NFS C...
MySQL Boolean value, stores false or true In shor...
Sublime Text 2 is a lightweight, simple, efficien...
Table of contents 1. Resource download 2. Unzip t...
Table of contents 1. What is block scope? 2. Why ...
Preface Docker has been very popular in the past ...
1. Background Recently, some friends encountered ...
I use the simultaneous interpretation voice recog...
Sttty is a common command for changing and printi...
In the past, float was often used for layout, but...
Many times we want the server to run a script reg...
Table of contents What is the Observer Pattern? S...