Hi,
I want my sub menu active when ever i am clicking the sub menu and redirecting to another page using html and jquery.
but here in my case it is getting collapse.please do advise..here is my js and css
$(document).ready(function () {
$("#accordion > li > div").click(function () {
if (false == $(this).next().is(':visible')) {
$('#accordion ul').slideUp(300);
}
$(this).next().slideToggle(300);
});
$('.sub-menu1').click(function () {
$('ul:eq(0)').show();
});
Regards,
Hari
3 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.

Bikesh SrivastavaPosted Jan 12, 2017, 1:42 AM
Hari ShankerPosted Jan 12, 2017, 12:44 AM
Amit PrajapatiPosted Jan 11, 2017, 3:57 PM