accordion

accordion

In the implementation of the accordion tab
<h3><a href="#">Tag</a></h3> is it possible to make the href="#id-tag" work to open the tab as well as display the Ajax frame?
<div>
<a href="#id-tag">bla bla.. bla</a> //going to a tab that displays an Ajax content to the right.
</div>
I need to do that. Can anyone tell me how? I am new to JavaScript but I work with JQuery elements quite well. PHP and SQL are more my discipline.