I am using jQuery 1.4.2. Using the CSS selector "span.accordionOn", I am handling a click event. On screen one, it is working fine. Where as when I navigate to next screen, the functions are not getting called.
The jQuery handlers are as shown below. I am keeping them in a js file and loading the js file for every page load.
$("span.accordionOn").click(function(event){
$(this).parents(".toggleOuterCustom");
$(this).parents(".toggleOuterCustom").find(".lHeight").toggleClass('lHeighttranslate');
return false;
});
// toggle link icon
$('span.accordionOn').click(function(){
$(this).toggleClass('accordionOff');
});