Link to home
Start Free TrialLog in
Avatar of Owolowo
Owolowo

asked on

Tabbing across cells in an HTML table

Hi guys.

I'm trying to tab across the cells in an HTML table.
I can get it to tab to those cells that are text boxes. How do I get the cursor to tab to all cells on all rows?

Avatar of ALaRiva
ALaRiva
Flag of United States of America image

You can't.  You can only tab into objects/sections that are editable (i.e. textbox, checkbox, etc.)

It might be possible with CSS.  What exactly are you trying to do?

-Anthony
ASKER CERTIFIED SOLUTION
Avatar of ziffgone
ziffgone
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You may need to use a different method of grabbing objects in Mozilla. For compatibility issues, I always use the following "grab" code:

function grab(o){return document.all?document.all[o]:document.getElementById?document.getElementById(o):"";}

then just grab your elements with that. grab("myParElement").style.display="none"; for example. Might work:/ Bet Mozilla uses getElementById anyway.
Avatar of ballbstr
ballbstr

Can't you just set the tabindex on each cell?