trigger a click on page load jquery
snippet in javascript

trigger a click on page load jquery

user8345

$("document").ready(function() {
	$("button").trigger('click');
});