vremouth
V2EX  ›  HTML

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

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