title: Uncaught TypeError: $(...).appendTo(...).apeend is not a function
body: <p>I have this script:</p>
  
  <pre><code>$("&lt;tr&gt;").appendTo($ul)
           .apeend($("&lt;td&gt;").text(item.id).appendTo($ul))
           .apeend($("&lt;td&gt;").text(item.fname).appendTo($ul))
           .apeend($("&lt;td&gt;").text(item.lname).appendTo($ul));
  });
  </code></pre>
  
  <p>And the console shows below error:</p>
  
  <pre><code>Uncaught TypeError: $(...).appendTo(...).apeend is not a function
      at Object.&lt;anonymous&gt; (test2.jsp:23)
      at Function.each (jquery-3.2.1.min.js:2)
      at Object.success (test2.jsp:21)
      at i (jquery-3.2.1.min.js:2)
      at Object.fireWith [as resolveWith] (jquery-3.2.1.min.js:2)
      at A (jquery-3.2.1.min.js:4)
      at XMLHttpRequest.&lt;anonymous&gt; (jquery-3.2.1.min.js:4)
  </code></pre>
  
  <p>How is this caused and how can I solve it?</p>