The following works for me:
Although there are compatibility issues with some versions of IE. I think in IE you can do:Code:document.getElementById('showHide').setAttribute('style', 'display: block;');
Code:document.getElementById('showHide').style.cssText = 'display: block;';





Reply With Quote
