I have this piece of code with a little Javascript inside it, when I press the button it calculates a price and shows the result. But I want this price to be calculated at soon as the page loads. I figured this must be what the onload is for, but that didn't help?

```
<div>
    <p>200</p>
    <div id="label1"></div>
    <input type="button" value="calculate" onclick="calculate('calcObject1','label1',200)" />
</div>

```