First of all thank you for your consideration.
I have an html document with a wrapper (container) inside. I want to make it so that when somebody clicks on the body section of the page, they are redirected to xxx, but if they click on the wrapper (the content of the page) they don't get redirected. I have tried everything but the jquery selector for $('body') selects everything inside of the body and I don't seem to understand how to select everything not in the #wrapper. I was trying something like this:
$('*').not('#wrapper').click(function(){
window.location = 'http://www.example.com/example-page';
});
with no luck,
Thanks guys
Alex_