How to get the new value of an HTML input after a keypress has modified it?

后端 未结 6 1770
北恋
北恋 2021-02-05 03:24

I have an HTML input box


I\'ve attached a handler for the \'keyup\' event, but if

6条回答
  •  误落风尘
    2021-02-05 04:05

    Can you post your code? I'm not finding any issue with this. Tested on Firefox 3.01/safari 3.1.2 with:

    function showMe(e) {
    // i am spammy!
      alert(e.value);
    }
    ....
    
    

提交回复
热议问题