title: jquery append not working
body: <p>I searched around but couldn't find an answer to this. I was making a little card game, and I need the game to append some text if a certain card is created. Appending text works otherwise on click events, but not for this function. The function is triggered correctly, as the console logs and such fire. I'm not really sure what I'm doing wrong?</p>
  
  <pre><code>function ghostcheck() {
      if (hand[0][0] == 'ghost'){
      ghostpresent = true;
      console.log("It's a ghost!!");
      $("#infocard").append("&lt;p&gt;Oh no! A ghost! What would you like to do?&lt;br&gt;&lt;br&gt;&lt;/p&gt;");
  }
  </code></pre>
  
  <p>Thanks for any help on the matter!</p>