: Why does my element work on first click but not second click? I set up a CSS dynamic snippet on my site and it behaving strangely, when you click on the icons it works, but if you click
I set up a CSS dynamic snippet on my site and it behaving strangely, when you click on the icons it works, but if you click twice it scrolls up a few pixels up.
Click on the 5 icons repeatedly and you will see that they work on fist click but not on the second consecutive click, something wrong with the toggle?
More posts by @Angie530
2 Comments
Sorted by latest first Latest Oldest Best
You are trying to use Jquery which is a javascript library/extension. Before calling the $ function you may need to use jQuery.noConflict(); Usually these types of errors are related to conflicts between javascript libraries/extensions/modules/etc.
You are getting an error Uncaught TypeError: $ is not a function on line 1410 which is $(document).ready(function(){
That is likely the cause. Fix that and then see what happens
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.