any idea why this JavaScript just shows "block" and not the content of the (hidden) DIV?
<html>
<body>
<div id="mydiv" style="display:none">TEST</div>
<a href="javascript:document.getElementById('mydiv').style.display='block';">Show my DIV</a>
</body>
</html>
I also tried 'inline' but with the same result.
return false/true also failed.
onclick='' also failed.
I know there is style.visibility etc. but i need none/block.
Also the function should work inside the link, i don't want to call an external JS-function.
Thanks!