Use $(document).ready() to allow function execution
<p>I'm, let's say, new to jquery. I've stumbled across a quite interesting problem.
I`ve page with text ( text and images ) and button for next. Clicking the button has to make 2 things first go to next element and call loadNext. No problem so far, but the loadNext procces some info from the next element. It must be executed after all the content is loaded. </p>

<p>So how to put the ready check inside the click function - 
$('#next').click(loadNext);</p>

<pre><code>$('#next').click(function () {
   loadNext();
});
</code></pre>

<p>This doesn`t work. Nevertheless jquery version used is 1.3.2 because of Greasemonkey problem with the later versions (problem with //@require).</p>

<p>Can you give any suggestion what to do.</p>
