Nothing happens because there is no sidebar_link in your HTML.
Example use of event.preventDefault():
$(document).ready(function() {
$(".sidebar_link").click(function(event) {
event.preventDefault();
$(this).css("color", "red");
});
});
Here is an example how to use event.preventDefault() on links: http://jsfiddle.net/LUKVT/