I'm trying to write an if statement based on the toggled state of an element (a table, in this case). Attempting to select the table by any combination of id, class, and/or element type doesn't work. Using Firefox, I can see that the table is toggled between display:table and display:hidden. The selector that jQuery appears do be using is element.style. This selector is apparently built on-the-fly, as it's not one of mine.
I thought 'aha, select it by using $("element.style")!' This didn't work. Any suggestions on how to retrieve the display attribute of a toggled element?