[jQuery] Re: how to check hide elements?

2007-09-17 Thread Theodore Ni
You should be able to test if an element is hidden by doing something like $(element).is(:hidden) which should return true or false. On 9/17/07, james_027 [EMAIL PROTECTED] wrote: hi, using the hide() function, how do I know if an element is hidden or not? THanks james -- Ted

[jQuery] Re: how to check hide elements?

2007-09-16 Thread Glen Lipka
Try (div:hidden) and the opposite (div:visible) You can also explore the toggle() function which can often be used to switch back and forth between modes. But I am just guessing at your use case. Glen On 9/16/07, james_027 [EMAIL PROTECTED] wrote: hi, using the hide() function, how do I