Last Updated: June 28, 2020 | Reading Time: < 1 minute
If you work with a webpage that needs to simulate a click (eg. to open a popup, automatically submit a form, etc.) after page loaded, this one might be works for you.
jQuery(document).ready(function() {
setTimeout(function() {
jQuery("section a.open-popup").trigger('click');
},10);
});