I'm new to JQuery

I can't get load() to work with a div class:

<script type='text/javascript'>
        jQuery(document).ready(function($) {
                $(".Loader").load(function(){
                        alert("bang");
                });
        });
</script>
<div class="Loader">
      <img src="http://home.arcor.de/poesenau/Witness-Tree.JPG";
width="1200" height="1600" />
</div>


if I target the IMG, then it works fine, but how come it doesn't work
with the div?

Reply via email to