jQuery form serialize - empty string

前端 未结 4 1413
故里飘歌
故里飘歌 2021-01-31 12:46

My html:

 

        
4条回答
  •  臣服心动
    2021-01-31 13:40

    Although it doesn't apply to this particular example, the same behavior occurs if one or more form inputs is disabled. Those inputs will not show up in the serialized string. In my case, all form inputs had values but were disabled, resulting in an empty string being returned.

提交回复
热议问题