and I just want the last item in the menu to return true when it is clicked. So my idea is to set all item to return false, then set the last item to return true again.
$('#menu > ul > li > a').click(function(){
return false;
});
$('#menu > ul > li > a:last').bind('click', function() {
return true;
});
but I think probably it is wrong bcos it wont work! many thanks if u have any ideas to do this.