Prototype Element.show() documentation error
http://www.prototypejs.org/api/element/show
Documentation says:
Element.showcannot display elements hidden via CSS stylesheets. Note that this is not a Prototype limitation but a consequence of how the CSSdisplayproperty works.
That’s completely false, because setStyle({ display: 'block' }) works just fine on elements hidden via CSS.
4 comments.
Leave a Reply