Javascript not working after Update of another plugin
-
Hello dear Potent Plugins Team,
First up, at the risk of asking very stupid questions or sounding very confused when trying to explain myself, I’d like to say that I’m not really Javascript savvy.
I’m having a similar problem as the user in this topic: https://www.ads-software.com/support/topic/having-trouble-with-my-javascript-working/
The <script> tags in our Java-Script code have already been deactivated via commentary.
The Codes themselves are still functional, if I include them in a seperate HTML container in the Front-End. I believe that Custom Javascript simply cannot display or read them anymore?The problems first appeared after the update of _another_ Plugin (Elementor, 1.7.6.). Prior to the update everything worked fine and according to the Details page linked in the Plugins-Sub-Menue we are using the most recent version of the ?Custom CSS and Javascript“ Plugin (2.0.9).
I have tried digging around Elementor first, but couldn’t find any help or results. Since ?Custom CSS and Javascript“ is the only plugin affected by their update, I’m hoping to maybe find help here instead.Test Results:
Front-End:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"> </script> <script type="text/javascript"> $(document).ready(function(){ /* CODE */ ; }); </script>
The javascript here will be functional, but for some reason shuts down the Slider (ccslider)
<div class="noSlider">[ccslider id="4"]</div>
Back-End/Custom Javascript Window:
/*<script src="https://code.jquery.com/jquery-latest.js"></script> <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>*/ jQuery(document).ready(function( $ ){ /* CODE */ // });
Note that the closing tag for the Custom Javascript is hidden by a Comment.
If left active, the content of our page won’t show anymore. The navigation and slider would still be visible but fail to interact and the page content would be blank. Interestingly, if the Javascript part is left open, this issue does not occur, though I cannot fathom why.Plugin-Deactivation:
Trying to implement the CSS and Javascript into the files of the theme has only brought results for the CSS. The Javascript is also not functioning this way.Speculation:
At this rate I believe that Custom Javascript can no longer access a library to put the scripts to work? How would I implement a library within the Custom Javascript Window without using the script-tag like in the Front-End Test? Is it probably a file in the wp-content/plugin folder?Thanks a lot in advance.
The page I need help with: [log in to see the link]
- The topic ‘Javascript not working after Update of another plugin’ is closed to new replies.