Hi,
The show, hide, toggle methods are great on the element object but it
would also be nice to have a setVisisble(boolean) method. This allows
you to set the visibility of an element depending on a Boolean
expression. With the current api you have to if else this behavior.
Example:
$("myelemen
Thanks for the reply, had the same answer here. They are looking into
it to supporting a boolean operator on the toggle method.
http://prototype.lighthouseapp.com/projects/8886/tickets/195-new-method-setvisible-boolean-on-element
--~--~-~--~~~---~--~~
You receive