[jQuery] overide or deleting events

[jQuery] overide or deleting events


hi
i have something like this
$('div[@id=customer]').click(function(){
        $('div[@id=lookup_customer]').show();
    });
and during the user interaction i have something like this
$('div[@id=customer]').click(function(){
        alert('Lookup customer cant be shown any more.'');
    });
I was expecting a new behavior when clicking the <div id="customer">
tag, but what happen the two behavior are executing instead of the
newer one overiding the older one. How can I achieve this?
Thanks
james