title: jquery replace text with image, help
body: <pre><code>("*").each(function () { 
     if ($(this).children().length == 0) {
         $(this).text($(this).text().replace('basketball','test')); 
     } 
  });
  </code></pre>
  
  <p>i'm only able to change the text to another string of text, but how can I pass an image?</p>