barood
V2EX  ›  问与答

请教下通过 append 的 input ajax 提交后会自动 reset 吗?

  •  
  •   barood · Feb 14, 2017 · 2051 views
    This topic created in 3411 days ago, the information mentioned may be changed or developed.

    一个表单有个 input 是 jquery 通过 ajax 后 append 插入的,然后整个 serialize 后 ajax 提交,第一次能获取到这个 input 值,第二次提交就获取不到了,通过 firebug 查看 post 发送了这个 input 值但是 json 不返回了。

    1 replies    2017-02-15 01:45:25 +08:00
    barood
        1
    barood  
    OP
       Feb 15, 2017
    。。。。。。。。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2512 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 05:57 · PVG 13:57 · LAX 22:57 · JFK 01:57
    ♥ Do have faith in what you're doing.