success callback
<p>I'm using an ajax post like so...</p>

<pre><code>$(document).on("click",".Resend",function() {

    $.ajax({
        type: "POST",
        url: "file.php",
        timeout: 3000,
        data: dataString,
        cache: false,
        success: function(myhtml){
            // If success
            if (myhtml == "success") {
                    alert(myhtml);
            } else {
                    alert("No");
            }
        }
    });
});
</code></pre>

<p>The PHP/HTML that is called back for example is a simple as this...</p>

<pre><code>&lt;?php
    echo "success";
?&gt;
</code></pre>

<p>For some odd reason I am getting the false return alert = No.  Can someone explain to me why this might happen?</p>
