Get accordion to load on document .ready

Get accordion to load on document .ready

Hello, below is my code:


$(document).ready(function(){
var $group = $('#group-of-seven');

$('#nutrition').click(function(e) {
e.preventDefault();
$group.accordion();
});


and my HTML:


<div id="accordintable">
<div class="exampleaccordian">
<div id="group-of-seven">
<h1>Breakfast | 1st meal</h1>
<div>
<p>
1/2 whole wheat bagel, 1 Tbsp. whipped cream cheese,
2oz. smoked salmon (lox), 2 slices tomato and 1/2 grapefruit. Toast half of the bagel and add toppings. <b>291 cal</b> | <b>23 gr protien</b>
</p>
<a href="#step1" id="acc-skip2"> Next >></a>
</div>
</div>

I wan to not use the onlick function and have the accordion load on document ready.