I have this code
<h3> <a href="#" > Edit </a>.... </h3>
<div> ... </div>
I have the same code as in the official jquery UI accordion here
http://jqueryui.com/accordion/
Now there when i click on h3 then the div slides down and when i click on h3 again then it slides up. This is working fine without any problem.
Now currently i have the EDIT
text inside the h3 tag. Now i am opening the lightbox when someone clicks on edit.
But as edit is inside the h3 tag , when click on edit link , the accordion also closes or opens.
I want that if i click on edit , then accordion should not open but if someone clicks anywhere on the bar , then it should work as it is