How to open a specific slider on the next page with jQuery
问题 I want to open a slider on the next page when pressing a button but there is more than one button. Further, when I press one of the buttons then I want the info slider to open the one I clicked on the previous page. here is the code: $(document).ready(function () { $("h3.open-close").click(function () { if ($(this).is(".current")) { $(this).removeClass("current"); $(this).next(".desc").slideUp(400); } else { $(".desc").slideUp(4.00); $("h3.open-close").removeClass("current"); $(this).addClass