Try this selector:

  $(".ui-tabs-panel:empty")

This will select the tab panels that have no child nodes.

Depending on your code you may need to adjust that selector to account
for any non-visible child-nodes you may have, but the :empty selector
is the key here.

**--**  Steve

On Nov 20, 2:13 pm, austin <[email protected]> wrote:
> Hi there,
>
> I have just recently explored JQuery and successfully implemented the
> UI tabs on my site.  I figured out how to hide the tabs, BUT I
> couldn't find a solution to hide a tab when it's empty without having
> to hard code it in.  I  think I need to use a conditional statement,
> but I'm not sure how to go about it.  Am I on the right track?  Any
> help is appreciated.
>
> Thanks!

--

You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=.


Reply via email to