Skip to content Skip to sidebar Skip to footer

Detecting Character Code On Mobile & Desktop Devices

I am trying to add Diez tag # after the pressed space using jquery when user type. I have created this DEMO from codepen.io. In this demo when you write for example (how are you) t

Solution 1:

Simply listen for multiple events

$(document).on("textInput keydown", "#text", function(event) {
   // ...
}

Post a Comment for "Detecting Character Code On Mobile & Desktop Devices"