Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

automatically function run js function on load after some time

<script>
      $(document).ready(function(){
        setTimeout(function(){
            scrollMostTop()
        }, 3000);
      });

          function scrollMostTop(){
              window.scrollTo(0,0);
        $('.class').click();
    }
  </script>
 
PREVIOUS NEXT
Tagged: #automatically #function #run #js #function #load #time
ADD COMMENT
Topic
Name
4+8 =