Answers for "click button when page load in jquery"

1

trigger a click on page load jquery

$("document").ready(function() {
	$("button").trigger('click');
});
Posted by: Guest on March-06-2020
0

jquery on load button click

<script type="text/javascript">
$(document).ready(function(){
    $("#modal").click(); 
});
</script>
Posted by: Guest on September-15-2021

Code answers related to "click button when page load in jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language