How can I make an input field read only but still have it send data back to a form?

后端 未结 7 1337
情书的邮戳
情书的邮戳 2021-01-01 11:22

I have an input field:


7条回答
  •  走了就别回头了
    2021-01-01 12:19

    With Chrome browser on Windows 10 just having name="your_name" and the readonly attributes works fine: client cannot change a value, but it is sent to the server.

提交回复
热议问题