jquery.form插件 提交表单 type="hidden"取不到值的问题记录

1、外国文献:说可以改成其他的(非hidden),再加style="display:none"隐藏。

<INPUT type="password" style="display:none"  
          name="invisible-password"
          value="mypassword">

https://www.w3.org/TR/html4/interact/forms.html#successful-controls

2、文档api

http://malsup.com/jquery/form/

3、博客园文章

http://www.cnblogs.com/heyuquan/p/form-plug-async-submit.html#!comments

经过自己试验,只能取到刚开始就初始化的hidden的值,动态赋值还是取不到值。

posted @ 2019-04-16 16:21  尘世书童  阅读(1025)  评论(0编辑  收藏  举报