weixin_33692284 2014-04-11 09:19 采纳率: 0%
浏览 26


I'm trying to hunt down a bug in a register form I have. Every now and then I'll get an error of some undefined indexes. The forms are submitted using $('#theFormId').serialize().

My guess is in some browsers, in some cases .serialize() is missing out blank fields. Are there any reasons anyone knows why .serialize() could be doing this? The fields aren't disabled so I don't think that could be an issue.

I could solve the issue by putting in and !isset($form['theField']) check in (which I probably will anyway) but I'd like to find the reason the field isn't being posted through in the first place.

  • 写回答

0条回答 默认 最新



    • ¥50 buildozer打包kivy app失败
    • ¥30 在vs2022里运行python代码
    • ¥15 不同尺寸货物如何寻找合适的包装箱型谱
    • ¥15 求解 yolo算法问题
    • ¥15 虚拟机打包apk出现错误
    • ¥15 用visual studi code完成html页面
    • ¥15 聚类分析或者python进行数据分析
    • ¥15 三菱伺服电机按启动按钮有使能但不动作
    • ¥15 js,页面2返回页面1时定位进入的设备
    • ¥50 导入文件到网吧的电脑并且在重启之后不会被恢复