Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
HTML button
Simeonov
Hi,<br />
i would like to call a function on a button click. What i have tried is to define the function in Report initialize and to set it as a globalVariable.<br />
<br />
My html code looks like: <br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
<button onClick="<VALUE-OF>refreshChart()</VALUE-OF>">Refresh</button>
</pre>
<br />
If a press the button nothing happens, but the function is called somehow automatically one time on generation. <br />
<br />
How could I correctly access extrenal report javascipt function from a html item?
Find more posts tagged with
Comments
mwilliams
Try putting your function in a text box inside html script tags, at the top of your report.