Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('[name="message"]').keypress(function(e) {
- if (e.which == 32 || e.which == 13) {
- this.value = this.value.replace(/b/gi, '🅱️');
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement