Hi, I am almost 4 hours debugging in this string,i could not compare this ..
it always goes to my else statement but when i try to alert it is "success" but why it did not go to the if statement.please help me on this

Thank you in advance.

Code:
  $.ajax({
    type:'post',
    ....
    ...
    success:function(data){
      if( data == "success")
           alert('done');
      else
           alert(data + 'problem');
 }

});