title: Uncaught TypeError: Cannot create property 'guid' on string '
body: <p>I am a attempting to run the below jQuery .on() method with the parameter value of 10 however whenever I do I get an </p>
  
  <blockquote>
    <p>Uncaught TypeError</p>
  </blockquote>
  
  <pre><code> $(document).on("click", '.topic-btn', displayGIF(10));
  </code></pre>
  
  <p>It's my understanding that how it is written runs the function without a click event causing the error.</p>
  
  <p>Is there a way around this? Ultimately, I want the <code>.on("click"...</code> for a parameter value of <strong>10</strong> and a <code>.on("dblcick"...</code> for a parameter value of <strong>20</strong>.</p>