enter ascii code in javascript

JavaScript
// ascii code for ENTER key 

ENTER = 13
Source

Also in JavaScript: