jquery works in chrome and firefox, not IE
<p>this won't work in IE... any ideas? When clicked it just loads the new page</p>

<pre><code>&lt;script type="application/javascript" src="lib/js/photos_fb_manage.js"&gt;&lt;/script&gt;    
&lt;ul class="photoList"&gt;
    &lt;li id="k877575065600"&gt;
    &lt;a href="/mem_fb_addphotos.php?addphoto.php?fbpid=877575065600&amp;album=837932838940" id="877575065600" class="fbpm"&gt;
    &lt;img src="http://photos-f.ak.fbcdn.net/hphotos-ak-snc4/155193_877575065600_22912405_47840445_3804175_s.jpg" /&gt;
    &lt;span&gt;Add To Profile&lt;/span&gt;
    &lt;/a&gt;
    &lt;/li&gt;
    &lt;/ul&gt;

    $(document).ready(function()
    {
        $('.fbpm').click(function(e)
        {
            fbpid = $(this).attr('id');
            $(this).find('span').text('PHOTO ADDED');
            $(this).parent('li').addClass('selected');
            $('#addedPhotos').show();
            $('&lt;img src="images/loading.gif" id="loadimg" /&gt;').appendTo('#addedPhotos');

            $.ajax({
               type: "POST",
               url: "php/ajax/photos_fb_manage.php",
               data: "fbp="+ fbpid +"",
               success: function(msg){
                $('#loadimg').remove();
                $('&lt;img src="'+ msg +'" /&gt;').appendTo('#addedPhotos');
               }
             });

            e.preventDefault();

        });
    });
</code></pre>
