Re: [Proto-Scripty] Trying to toggle the content of elements

2010-01-29 Thread Walter Lee Davis
You can't have two different elements on the same page with the same ID. If you want to update the content of the box (I realize this may just be an ultra-simple example), then look at Element.update for one possible way to do this with a single DIV. Another way would be to have two differe

[Proto-Scripty] Trying to toggle the content of elements

2010-01-29 Thread Javier Garcia
Hi, i have this code: Hello Bye Click here What i expected: each time you click "Click here", "Hello" or "Bye" is showed. What actually happens: just Hello appears and disappears. Bye is always there... What should i do? Javi -- You received this message because you ar