i have a registration function that registers a user in my app. If registration is successfull, my webapi will return "success" otherwise "error".
this part will ALWAYS be "else" even if my status variable is "success":
if(register_response=="success") {
http://pastie.org/private/jizl7udishhbdgvf5qlb9q
How can that be? i cannot see the error :|