[jQuery] Newbie question about toggle.

2009-05-21 Thread Lacrima
Hello! I think very simple question, but I am very new to jquery... For example, I have the next code: $('#info').hide(); $('a#show_hide_info').click(function(){ $('#info').toggle(); }); So when a user click on #show_hide_info, #info element become visible

[jQuery] Re: Newbie question about toggle.

2009-05-21 Thread Lacrima
On May 21, 8:11 am, Lacrima lacrima.ma...@gmail.com 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_hide_info').click(function(){             $('#info').toggle