[Solved] How do I display a random quote when page loads? Random Quote Machine

Okay. So when the page loads, we want it to “trigger” the quote button that brings up a random quote as if it had actually been physically clicked. I came up with this:

$(’#quoteButton’).on(“click”, function () {
});
$(’#quoteButton’).trigger(“click”);

I have tried inserting this at different places in my code, and nothing changes. What am I doing wrong?