Problem UI with function keypress JQUERY

Hello, i have a problem.
I search try to make a menu html/css/js
I use the keypress function to listen to the keys but it does not work. Is there something specific to do?
Example for navigate to the menu:
http://jsfiddle.net/QFzCY/

Its dont work in gta UI
Thanks all

Make sure you are calling SetNuiFocus(true) when you open the menu.

My problem is not in the lua.
Its in JQUERY.
You think I have to call the function to interact with jquery?

Yes, you need to call SetNuiFocus(true).

I have a solution thank you but it is not under lua “SetNuiFocus(true)” has nothing to see but thanks to you

Share your soultion then.

My menu is on html but it is fed by javascript and listen by lua.
The menu will be in my baseMods.