Open Jquery Accordion Using Anchor Tag Within Same Page
I've searched for hours trying to find a solution for this but I can't quite figure this out. Any help would be appreciated. I'm starting to understand jquery a bit but it's mostly
Solution 1:
here is a great explanation how to do it jquery ui widget accordion open with external button control . On click event of some tag:
$('.some-tag').on('click', function(){
$( ".accordion.product1" ).accordion({active:0});
});
active:0
the 0 is index of the accordion that you want to open.
UPDATE
Add this to accordion:
$('.accordion.product1').accordion({
//... optionscollapsible: false
});
Post a Comment for "Open Jquery Accordion Using Anchor Tag Within Same Page"