I\'m new to jQuery and javascript in general but am plugging my way through thanks to sites like these.
I have a page with six hidden divs that are called with correspon
$(document).ready(function(){ $("a[id^='link']").click(function() { $("div[id^='panel']").fadeOut("slow"); $("div#"+this.id.replace('link', 'panel')).fadeIn("slow"); }); });