IE error on execution time

IE error on execution time

 I don't know what to do, I'm new with jQuery... I want to do a simple (very simple) photo gallery, I have thumbnail at right and the amplified photo at left all inside a transparent table... So, the code works perfectly with Chrome and Firefox, but our friend IE didn't like my code. Here it is:
  1. $(document).ready(function(){
    $('#thumb').click(function(){
    var thesource = (this).src;
    $('#large').empty();
    $('#large').append('<img src='+ thesource +' >');
    })
    });
Do you have any idea of what is happening ? Please help me!!!