[jQuery] Re: Newbie question about toggle.

2009-05-21 Thread Lacrima
Hi Ryan, Thanks for reply! I tried to use anchor, but it doesn't work: $('#info').hide(); $('a#show_hide_info').click(function(){ $('#info').toggle(); }); Show/hide info some When I click #show_hide_info, this doesn't move me to my anchor. So what I am doin

[jQuery] Re: Newbie question about toggle.

2009-05-21 Thread ryan.j
sounds like you could jsut use an inline anchor, with the JS being executed in the onclick event On May 21, 8:11 am, Lacrima wrote: > Hello! > > I think very simple question, but I am very new to jquery... > For example, I have the next code: > >         $('#info').hide(); >         $('a#show_hi