I\'ve got a page with some questions and answers, the answers are collapsed by default. When they click the question I expand the hidden answer-div. The problem is that when
$('a').click( function() { if ($(this).attr("href") == window.location.hash) { event.preventDefault() } });