jQuery simulating click


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

With setTimeout it actually works.


Copy this code and paste it in your HTML
  1. function click() {
  2. setTimeout( function() {
  3. $( "#id_of_the_container" ).find( ".class_of_the_button" ).click();
  4. }, 100 );
  5. return true;
  6. }

URL: http://turczynski.com

Report this snippet


Comments


You need to login to view comments.