Jquery conflict in WordPress after move into another hosting

i was looking for some solution it but i didnt find anything.
I think its jquery conflict. I have installed smart-slider, and after move my WordPress into another hosting its just stopped working. My browser shows me: “undefined its not a function”, and my code (generated by plugin ofc):

<script>
    njQuery(document).ready(function () {
        njQuery('#nextend-smart-slider-1').smartslider({parameters});
    });
</script>

I was trying to change it into $.(‘#next.. or jQuery(‘#next, but it still broke.
Any ideas?

Related posts

Leave a Reply

1 comment

  1. You can change the code to be a simple jQuery. And not the njQuery.

    <script>
        jQuery(document).ready(function () {
            jQuery('#nextend-smart-slider-1').smartslider({parameters});
        });
    </script>
    

    Otherwise it won’t work. Or else, just make sure that the server has a variable or a script file to handle the njQuery too.