jquery replace text with image, help
<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>
