jQuery help, manipulating anchor

Discussion in 'jQuery' started by xxKillswitch, Jan 13, 2010.

  1. #1
    Hey guys, I am running into an issue with jQuery. To be upfront, I am NOT experienced with Javascript. All ajax I have worked with before was done with Xajax, but recently made the switch to jQuery. So far so good, but I am finding I need help doing one small thing.

    I have a tab bar with three tabs. The first, which is selected by default, shows a table of content in the database. The second tab shows a form for creating a new content page (and the jQuery ajax works fine with this), and the last tab is empty and should be filled with content for editing a page.

    What I want to do is in the first tab, be able to click a content pages title in the table, which loads the data into the third empty tab, but after I click, to select and show that tab.

    I can load the data fine, I just can't figure out how to show the tab after clicking on the content. All I need to do is set the anchor link in the tab3 class to "selected" once the link in the table is clicked. Can anyone help with this?
     
    xxKillswitch, Jan 13, 2010 IP