In jQuery How to Call a Function When Images Loaded In a "Each & Load" Loop
<p>I am writing a little plugin like this:</p>

<pre><code>(function($){
    $.fn.extend({
        myplugin: function (callback) {
            return this.each(function(){
                $(this).one('load',function(){
                    // Manipulate Images
                }) ;
            }) ;
        }
    }) ;
})(jQuery) ;
</code></pre>

<p>I want to fire a callback after plugin finishes its job:</p>

<pre><code>jQuery('img').myplugin({function(){
    // Do something
}) ;
</code></pre>

<p>How can I do this?</p>

<p><strong>Edit:</strong> It is still not solved, even I got a minus point because of my question found not clearly specified. But it must be obviously a little bit tricky solution. Are there any js ninja who can solve this?</p>

<p>Thank you!</p>
