Jquery ajax success multiple functions
<p>I'm loading images in the DOM using ajax.</p>

<p>Once the data is loaded, on success i then call the function which creates the html for the page including the images just brought in from the ajax call.</p>

<p>What I want to do is lazy load the images but cannot figure out where I need to add the code to bind the images to lazy load</p>

<p>Here's the ajax code which calls the next function on success</p>

<pre><code>$.ajax({
        url: apiURL,
        dataType: 'json',
        data: {page: page}, 
        success:onLoadData
    });
</code></pre>

<p>And here's the lazy load function I need to add but where?</p>

<pre><code>function(data) {
    $("img.lazy").lazyload({
        effect: "fadeIn"
    });
}
</code></pre>
