jason wrote:
Klaus,

Why not simply:

$(function(){
        $('li.deal').click(function(){
                location.href = $('h2 a', this).attr('href');
        });
});


Ha! I thought I'd need to disable the contained anchor element (thus I captured the href in a closure), but that's probably not required anyways.

Nice!


--Klaus

Reply via email to