Is this function can be a good way to preload in jquery?
<p>is this function that i wrote in jquery, will be a good way to preload?
thank you</p>

<pre><code>function loader(){

        imgTag('#check');

        function imgTag(whereToAppend){
            var image = 'image.jpg';

            $(whereToAppend).append('&lt;img id="imgWrapper"&gt;');

            $('#imgWrapper').attr('src', image).hide().one('load',function(){
                $(this).fadeIn('slow');
            })
        }


    }
</code></pre>
