sneezry
V2EX  ›  问与答

iPhone 的 safari 浏览器中怎么监听类似于 onkeyup 的事件?

  •  
  •   sneezry · Jul 21, 2015 · 2654 views
    This topic created in 3974 days ago, the information mentioned may be changed or developed.
    需要在用户输入时实时更新输入的文字数
    3 replies    2015-07-21 18:12:22 +08:00
    L3au
        1
    L3au  
       Jul 21, 2015 via iPhone   ❤️ 1
    oninput
    sneezry
        2
    sneezry  
    OP
       Jul 21, 2015
    @L3au 非常感谢!
    g0thic
        3
    g0thic  
       Jul 21, 2015   ❤️ 1
    on('input propertychange') 我一般这样监听输入框的输入变化
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3003 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 07:12 · PVG 15:12 · LAX 00:12 · JFK 03:12
    ♥ Do have faith in what you're doing.