Advertisement
Guest User

Untitled

a guest
Apr 21st, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. $('[name="message"]').keypress(function(e) {
  2. if (e.which == 32 || e.which == 13) {
  3. this.value = this.value.replace(/b/gi, '🅱️');
  4. }
  5. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement