this is my code in JavaScript:
var changeIdValue = function(id, value) { document.getElementById(id).style.height = value; }; document.getElementById (\"ba
In JQuery events are normalised under which event property.
You can find any key value here eg:spacebar value(32).
This function may help you.
$(window).keypress(function(e) { if (e.which === 32) { //Your code goes here } });