Using arrows-keys to navigate

I am wondering if there was a possibility to navigate with arrow keys through a table I created with JS(using jQuery)? I mean jumping from cell to cell…The script is for Greasemonkey. The alert, …

alert a variable value

How do I display the value of a variable in javascript in an alert box? For example I’ve got a variable x=100 and alert(x) isn’t working. the script used in grease monkey is here var inputs = …