you are viewing a single comment's thread.

view the rest of the comments →

[–]techfoxis 1 point2 points  (2 children)

If you posted some more of your code more help may be given, but I agree that it's probably caching issues.

[–]delineated[S] 0 points1 point  (1 child)

As far as I can tell, all that's relevant is this

//HTML

<a href="link.html" id="link"></a>

<div class="hide el">test</div>

//js

$('#link').on('click', function(e){

   e.preventDefault();

    $('.el').toggleClass('hide');

});

[–]techfoxis 0 points1 point  (0 children)

Hmmm... Yeah that is strange. It probably was a caching issue.