I am quite new to jQuery and I am trying to include a toggle-nav script to my Joomla template. I included the latest version of jQuery and my .js file where the function is stor
Your script is probably conflicting with mootools which is common depending on your joomla version and script setup. Try the following:
// You might need this, usually it's autoloaded
jQuery.noConflict();
// Replace $ with jQuery
jQuery(document).ready(function() {
jQuery('.toggle-nav').click(function() {
jQuery('.navigation').toggleClass('show');
});
});