Element.show sets an element’s display property to ’’. Using this you can show an element that has been hidden from the page using Element.hide or by inline css rules.
The element must have an initial CSS display value of ’’ else will result in a javascript error.
Element.show( element );
element can be any DOM Element object or an ID.
// this will work
<p id="desc" style="display:none;">An adept sycophant hides in his hole.</p>
<a href="#" onclick="Element.show('desc'); return false;">Show the description</a>
// the following won't work
//assuming css rule .desc { display:none; }
<p id="desc" class="desc">An adept sycophant hides in his hole.</p>
<a href="#" onclick="Element.show('desc'); return false;">Show the description</a>
creates: