This is my html . the onload function calls a javascript function.
How to run a Jquery after the Javascript function calls ?
html
<body leftmargin=“0” topmargin=“0” marginwidth=“0” marginheight=“0” onLoad=“onLoadSettings()”>
</body>
javascript calls
function onLoadSettings() {
calculateGrandTotal(); //defined somewhere
calculatePrevYearGrandTotal(); //defined somewhere
calculateAcceptTotal();//defined somewhere
// L1 <—I want to run the Jquery code here .
}
JQuery
I have written a Jquery code as below
<script type=“text/javascript”>
$(document).ready(function(){
// some JQuery code here
});
</script>
I want to run this JQuery piece of code in the L1 place .
Could you please give me some idea ?