Wait after the page loads then click


/ Published in: JavaScript
Save to your folder(s)

This little Gem allows me to click a link on the page automatically a few seconds after the page loads.


Copy this code and paste it in your HTML
  1. <script type="text/javascript">
  2. $(document).ready(function() {
  3. $(".va-slice-1").delay(3000).queue(function(){
  4. $(this).trigger("click");
  5. $(this).dequeue();
  6. });
  7. });
  8. </script>

URL: http://pointacross.com/home-hub/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.