vremouth
V2EX  ›  HTML

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

  •  
  •   vremouth · Apr 20, 2017 · 3545 views
    This topic created in 3460 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   ·   1024 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 22:49 · PVG 06:49 · LAX 15:49 · JFK 18:49
    ♥ Do have faith in what you're doing.