You have to get the value from target property of the event. Try the following way: $('#txtInput').on('keyup', function(e) { var userInput ...
確定! 回上一頁