I have a situation where I need to refer a jqplot.pieRenderer.min.js
file to a particular script block only. Because if it is used globally at the top, it is throwing error for the other scripts block functions. How can i maintain that js file to particular script block.
I tried below.
<script src="jquery.jqplot.min.js" type="text/javascript"></script> // global js file
<script type="text/javascript" src="jqplot.pieRenderer.min.js"> //using specific js
$(document).ready(function () {
BindLocationStock();
BindStatusWiseStock();
});
<script type="text/javascript"> //using global js
$(document).ready(function () {
BindBarChart();
});
Can first script block use global js file and block level js file? I want this scenario. How can I achieve this. Please assist here.