I have two file:
html2canvas.js
function html2canvas(){
}
myid_print.js
(function ($) {  
    $(document).ready(function() {        
        //I want to call html2canvas function here
        html2canvas();
    });
})(jQuery);
I already included both files in my html but after running the code above, the console shows an error saying:
Uncaught ReferenceError: html2canvas is not defined
How will I call the function from inside my second file?
 
     
     
     
    