Home > Article > Web Front-end > How to submit the value of disabled form field in the form_html/css_WEB-ITnose
How to submit the value of a disabled form field in a form
Use Replace the disabled one and it will be better
The correct answer is that you can use hidden fields for submission. If you want to display it, you can still use your original method, but remember not to repeat the form name
You can submit using ajax.
Add a submit (onsubmit) processing function to the form, take out the disabled element value, and assign it to an
Use input hidden to solve