vremouth
V2EX  ›  HTML

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

  •  
  •   vremouth · Apr 20, 2017 · 3588 views
    This topic created in 3471 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   ·   3319 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 12:01 · PVG 20:01 · LAX 05:01 · JFK 08:01
    ♥ Do have faith in what you're doing.