Home
Analytics
Include JQuery in head.js
marcel808
<p>hi</p>
<p>I wanted to look into using jQuery in a BIRT report. I found a few online examples but kept hitting the same problem. I've cut it down to the following:</p>
<p> </p>
<p>I created an empty report and added just the following line to the clientScripts->clientInitialize area:</p>
<pre class="_prettyXprint">
head.js("https://code.jquery.com/jquery-2.2.4.js",mycallback);
function mycallback() {}</pre>
<p class="">I thought thats the way I should add library support? But when I add this, it crashes and never renders the rest of the report.</p>
<p class="">I have tried other versions of jquery, always the same problem.</p>
<p class="">Can someone put me out of my misery?</p>
<p class="">many thanks</p>
<p class="">Cel</p>
<p class=""> </p>
Find more posts tagged with
Comments
pricher
<p>Hi,</p>
<p> </p>
<p>Maybe this <a data-ipb='nomediaparse' href='
http://developer.actuate.com/community/forum/index.php?/files/file/1125-jquery-and-open-source-birt/'>devshare
</a>will help.</p>
<p> </p>
<p>P.</p>
marcel808
<p>hi Pierre</p>
<p>wow, that brilliant, many thanks. Problem solved
</p>
<p>regards</p>
<p>cel</p>