How do I submit disabled input in ASP.NET MVC? Ask Question

How do I submit disabled input in ASP.NET MVC? Ask Question

How do I submit disabled input in ASP.NET MVC?

ベストアンサー1

Can't you make the field readonly="readonly" instead of disabled="disabled"? A readonly field value will be submitted to the server while still being non-editable by the user. A SELECT tag is an exception though.

おすすめ記事