The Saxman
New Member
The following page won't work as expected.\[code\]<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <script src="http://stackoverflow.com/questions/14543737/js/jquery.js"></script> </head> <body> <script> $('body').keypress(function(e){ console.log('char: ',String.fromCharCode(e.keyCode)); }); </script> </body></html>\[/code\]Trying to type special characters such as \[code\]