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

后端 未结 6 1780
北恋
北恋 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 03:59

    You can try this code (requires jQuery):

    
    
        
        
    
    
        

提交回复
热议问题