I've got a wordpress site under my novice care (I'm an intern) and was asked to implement and a button that toggles a form. So I went digging. I found this tutorial http://www.davidtiong.com/create-toggle-shortcode-for-wordpress-using-jquery/
and used it to implement this --> http://www.hardwareclub.co/community/ The button, "request more info", works as it's supposed to when you go to the link as I just directed you to.
BUT if you get there from hardwareclub.co by using the top navigation menu the button no longer works.
What gives?
The same question can be asked about the hardwareclub.co/scale page.
jQuery(function($){
$(".toggle_container").hide();
$(document).on('click', "h3.trigger", function () {
$(this).toggleClass("active").next().slideToggle("normal");
return false; //Prevent the browser jump to the link anchor
});
});