Hey again, simple solution i’m sure but i just dont know the syntax for it.
I have a table full of images and a button which when turned on uses the arrow keys to navigate around the table. When the button is turned on clicks to the empty body area of the page will redirect the focus to the button which keeps the arrow keys activated, but i want to prevent this from happening when the user clicks inside the table itself. I suppose what im looking for is something like:
[CODE]
var elementClicked = (whatever the syntax is for the element name that was clicked)
if(elementClicked != myTable1){
document.myForm.myButton.focus();
}
please fill in the blank :p