Jquery on click load each image separately
<p>I am making an image gallery with a load, but I am a bit stuck.</p>

<p>I would like to load each image separately.</p>

<pre><code>&lt;script&gt;
$(document).ready(function(){
    $(".slider img:first-child").css("display", "block");
    $("#right").click(function(){
        $(".slider img").each(function(){
            var image = $(this).attr("src")
            alert(image);
        });
    });
});
&lt;/script&gt;
</code></pre>

<p>it alerts each, but how can i make it to load it seperately?</p>

<p>Be gentle I am a begginer </p>
