vremouth
V2EX  ›  HTML

html input 我输入“a bc” 只能获得“a bc”吗

  •  
  •   vremouth · Apr 20, 2017 · 3633 views
    This topic created in 3492 days ago, the information mentioned may be changed or developed.

    html input 我输入“ a bc ” 只能获得“ a bc ”吗 document.getElementById("id").value

    多个空格变成了一个

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2199 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 13:48 · PVG 21:48 · LAX 05:48 · JFK 08:48
    ♥ Do have faith in what you're doing.