Showing posts with label function load after page load complete. Show all posts
Showing posts with label function load after page load complete. Show all posts

Monday, January 8, 2018

Javascript - How to call function after complete page load

Write below code and add your function in setInterval 

<script>
        document.addEventListener("DOMContentLoaded", function () {
            setInterval(calculateTotalFees(), 0);
        }, false);
</script>