I want jQuery to respond to a click on any element except <img src="path.jpg" alt="" id="test">

this code works, but only if I'm clicking on images:
Code JavaScript:
$('img:not("#test")').click(function(e){
       alert('ok');
    })

I really want this but it doesn't work:
Code JavaScript:
    $('*').not("#test").click(function(e){
         alert('ok');
    })

What can I do so jQuery will detect a click on any element in the page except #test?