` – Rajarishi Devarajan Apr 07 '20 at 14:22

  • 1
    working now, thanks for the help. Code udpated. – xtlc Apr 07 '20 at 14:54
  • 1 Answers1

    1

    You need to include JQuery. Paste this tag before your script tag in the template

    <script src="https://cdn.jsdelivr.net/npm/jquery@3.4.1/dist/jquery.min.js"></script>