Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
Unable to get property 'style' of undefined or null reference
Migrateduser
<p>Hi,</p><p> </p><p>I have created the following javascript function to hide or show charts and then calling it from a text item.</p><pre class="_prettyXprint">function showhidetab(showflag,bookmark, heightval, tab){ if (tab == 'overview') { document.getElementById('overgrid').style.visibility="visible"; document.getElementById('overgrid').style.display = "block" document.getElementById('overgrid').style.height= '6in'; } else { document.getElementById('overgrid').style.visibility="hidden"; document.getElementById('overgrid').style.display = "none" document.getElementById('overgrid').style.height='0px'; } }</pre><p>This function is working when I run it as html or in preview. However, When I deploy the report on birtviewer view it on IE/safari etc, I get the following error</p><pre class="_prettyXprint">SCRIPT5007: Unable to get property 'style' of undefined or null reference</pre><p>Can someone please tell me why is the report behaving differently when run through browsers and on Birtviewer/apache</p><p> </p><p>Regards</p><p>Syed</p>
Find more posts tagged with
Comments
There are no comments yet