I’m reading in, the only RoR book I could find in the local bookstore,
Agile Web D. with Rails. In the Web 2.0 section they talk
about
using DOM manipulating JavaScript commands like “Element.Toggle(element,
…)”. I like how those work, but want to execute multiple commands on
one
event.
I want to be able to do a:
$(‘some_id’).style.display=‘none’
then a
$(‘another_id’).style.display=‘inline’
both on a “onclick” event:
any help would be appreciated.
Thanks,