简体   繁体   English

仅提交某些字段

[英]Submit only certain fields

I have a huge form and I would like to submit only the fields that were modified on client side. 我的表单很大,我只想提交在客户端修改的字段。 So I need to decide, in client side, what fields to submit. 因此,我需要在客户端决定要提交哪些字段。 Is it possible? 可能吗?

Submit always all fields and handle that in server side is not an option. 始终提交所有字段,并不能在服务器端进行处理。

Just disable the fields that were not modified. 只需disable未修改的字段。 Inputs with the disabled attribute are not submitted. 具有disabled属性的输入不会提交。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM