Jquery. Change element id

Jquery. Change element id

Helo,
I try to change element id and then do something with it.
This script changes id, but click not works with it, I dont understand why.

Thanks for help.

  1. $('#some').hover(
       function(){
           $(this).attr('id', 'new');
       }
    );
    $('#new').click(
       function(){
           $(this).fadeTo('slow' , 0.2);
       }
    );