Very strange, that does nor work either Klaus. I am using 1.1.3, maybe
it´s a Jquery version problem? Toggle works when I remove both
arguments and leave it empty.

Thanks

On Aug 27, 9:56 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> Benjamin Sterling wrote:
> > <script type="text/javascript">
> >    $(document).ready(function(){
>
> >        $('#toggleTwo').click(function(){
> > var $this = $(this); //  add a reference to "this" relating to the A tag
> > $('#rubricTwo').toggle(function(){
> > $this.html = "hide";} ,function(){$this.html ="show";}
> >                );// end toggle
> >            return false;
> >            });
> >   }); // end document.ready
> > </script>
>
> > "this" in "$(this).html" was referring to the div you were toggling
>
> And that'll still not work. html is a method, not a property. Try:
>
> $this.html('hide') etc.
>
> --Klaus

Reply via email to