jquery-3.2.1.slim.min.js:2 Uncaught TypeError: $(...).ajaxComplete is not a function

Create issue
Issue #39 new
Manu Saxena created an issue

Hi Alexey, I am facing an issue.

Issue:

1. I am adding the plugin to Blog pages. The form is displayed. But after entering the entries, and clicking on send button, nothing happens.

2. I checked the console after clicking the send button. I get these messages. It seems like it has got something to do with jquery.

2. I have been using “Comments” for some time and for other pages it is working fine. The only change I made with blog pages is that I am using bootstrap 4 and its jquery.

3. I also checked with other plugin “comments”, there I found people having the same issue: https://octobercms.com/plugin/support/saurabhdhariwal-comments/typeerror-commentsavebutton-is-not-a-function

I tried all solutions mentioned here, but nothing seems to work for me.

Help!!

I have few queries as well

1. I want to add the comments plugin to all the blog pages i.e. “blog page”, “post page”, “categories page” so I am adding the plugin in the layout. What do I have to place in the Slug value?

2. I am seeing “Homepage” in the comment form. What is it about and how to remove it if I don’t want it?

Thanks Alexy.

Comments (1)

  1. Manu Saxena reporter

    It seems like it is a jquery issue.

    if I am using this → <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>

    it is working fine,

    But if I am using these (as menitioned for bootstrap 4)

    <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
        <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
    

    It does not seems to work.

    Alexey kindly shed more light on this issue.

  2. Log in to comment