jquery and publisher.js

Karthik86
There seems to be some conflict between publisher.js and jquery-3.3.1.min.js
If i include jquery-3.3.1.min.js before publisher.js then kite does not work
If i include publisher.js before jquery-3.3.1.min.js then jquery functions dont work.

Please help.. How to include both.
  • rakeshr
    I just included jquery version:3.3.1 and checked for jquery .click handler. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
    It's working perfectly fine. Depending on your flow requirement, you can include jquery or publisher.js before or after each other.
    For example, i just tested for this scenerio:
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
    <body>
    <!-- A kite-button that initiates an order -->
    <script>
    <!-- JQuery handler -->
    </script>
    <script src="https://kite.trade/publisher.js?v=3"></script>
    </body>
Sign In or Register to comment.