Quick jQuery fadeTo/fadeIn syntax
<p>I've got this line, but I've tried adding the fade in, or fadeto part, it's not having any effect, so I presume it's not written correctly...</p>

<pre><code>$(".bold_link").replaceWith('&lt;span class="bold_link"&gt;No Virus Found! &lt;img src="/images/virus-tick.png" alt=""/&gt;&lt;/span&gt;').fadeTo('slow', 1);
</code></pre>

<p>The entire code, if it's needed is:</p>

<pre><code>$(function() {
$('.bold_link').click(function(e){
    $("#vc_icon").attr('src',"/images/virus-checking.gif");
    e.preventDefault();
    var shortname = "&lt;?php echo $shortname; ?&gt;";
    $.get("/virus-check.php?ajax", {sn: shortname}, function(data){
        if(data == '"Safe"'){
            $(".bold_link").replaceWith('&lt;span class="bold_link"&gt;No Virus Found! &lt;img src="/images/virus-tick.png" alt=""/&gt;&lt;/span&gt;').fadeTo('slow', 1);
        }
        else{
            $(".bold_link").replaceWith('&lt;span class="bold_link"&gt;&lt;img src="/images/virus-cross.png" alt=""/&gt; Infection Detected!&lt;br /&gt;File no longer available for download.&lt;br /&gt;Administrators have been notified.&lt;/span&gt;');
        }
    });
});   
</code></pre>

<p>});</p>

<p>Which when a link is clicked, jquery send an ajax request to the server, which scans a file, and returns a result, "Safe" if so, and else if not. The jQuery responds accordingly. I just want it to look a little fancier with a fade in to the result...</p>

<p>Any help would be great.</p>

<p>Thanks.</p>
