On Feb 15, 5:08 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Thanks, but that didn't work.  I have
>
> <script type="text/javascript">
>         $(function() {
>                 $('#tabcontent > ul').tabs({click: function(clicked,
> toShow, toHide) {
>                                 alert(toHide.title);
>                         }
>                 });
>         });
> </script>
> <body>
> <div id="tabcontent">
>             <ul>
>                 <li><a href="doc_properties.php"
> title="Document"><span>Document</span></a></li>
>                 <li><a href="tabs.php" title="Tabs"><span>Tabs</span></
> a></li>
>             </ul>
> </div>
> </body>
>
> but upon clicking on a tab the alert never gets called.  Could you
> point me to a working example of the concept somewhere online and I
> just copy their code?

The alert never gets called because the argument toHide is undefined,
this toHide.title will throw an error. Instead of guessing I highly
recommend to use FireBug or at least the error console to spot
errors...


--Klaus

Reply via email to