I have a html . the onload function calls a javascript function. I want to run a Jquery after the Javascript function calls . How ? whats the syntax ?
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
}
JQuery
I have written a Jquery function
<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 . What syntax I should use ?


Reply With Quote

Bookmarks