javascript string equal
<p>I have a very strange jquery problem:</p>

<pre><code>if(response==="success") {
    alert("I am here");
    $('#uploadfile').html('&lt;img src="./uploads/'+file+'" alt="" /&gt;&lt;br /&gt;'+file);
}
else {
    $('#uploadfile').html(response);
    //$('#attached1').val("error");
}
</code></pre>

<p>In this code, if response equal <code>success</code>, the <code>uploadfile</code> element will display "sucess". The <code>alert("I am here")</code> will not show.</p>

<p>I don't know why? what's the error in above code.</p>
