I have two script file like this
<script onload="mready();" src="moment.js"></script>
<script onload="jready();" src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
Above code calls mready() after moment.js is loaded and jready() after jquery loaded , How do I call another function after both scripts are loaded.