I want a script to verify if the key pressed is \'spacebar\', keycode 32. I noticed that IE uses other function names.
I tried a lot of solutions found here and this
In principle the way you do it should work. Check this out: