jquery Programming Glossary: changecurrentcell
Using arrows-keys to navigate http://stackoverflow.com/questions/3245398/using-arrows-keys-to-navigate above fairly easily but they would make the example more complicated... var currentRow 0 var currentCell 0 function ChangeCurrentCell var tableRow document.getElementsByTagName tr currentRow var tableCell tableRow.childNodes currentCell tableCell.focus tableCell.style.color.. tr currentRow var tableCell tableRow.childNodes currentCell tableCell.focus tableCell.style.color Green ChangeCurrentCell document .keydown function e if e.keyCode 37 currentCell ChangeCurrentCell return false if e.keyCode 38 currentRow ChangeCurrentCell.. tableCell.style.color Green ChangeCurrentCell document .keydown function e if e.keyCode 37 currentCell ChangeCurrentCell return false if e.keyCode 38 currentRow ChangeCurrentCell return false if e.keyCode 39 currentCell ChangeCurrentCell..
|