Sorry for not explaining this well. In the first line, "(this)" is the link that you click. The the id is used as a selector to select the "tab" that relates to that link. What I'd like to do is something like this:
var activeTab = [single quote here] $(this).attr("id") [single quote here]; Is anything like this possible? I just need a way to select a tab by clicking an anchor. Remember, heres my script: var activeTab = $(this).attr('id'); $(activeTab).fadeIn(500); Does this make any sense?