I have a .js file that is the javascript translation of a java file.jar. I would like to run the file as soon as the HTML page is loaded. Is it possible? now the file is run using the following code
<div class="w3-twothird" align="center"> <script> cheerpjInit(); cheerpjCreateDisplay(500,400); cheerpjRunJar("/app/tesi/homepage/disgrafia.jar"); </script> </div> I'd like to use only the js file and not the jar.