You are missing an event declaration from your function. Also, as an agreement, I see most examples using evt as a variable name.
$("#rightcolumn h3 a").click(function(evt) { evt.preventDefault(); $(this).parent().next().toggle(400); }
Comment from TJ Crowder regarding the inclusion of the evt () function
You need to declare the parameter to the click handler (the event is not global, except for IE and browsers that throw dice on IE-specific websites). Note that you do not need (or need) a test for preventDefault. jQuery ships it in browsers that don't provide it natively
Learn more about jQuery events.
source share