On 5 Mrz., 04:47, jquertil <[EMAIL PROTECTED]> wrote:
> probably wont work though - maybe better to have the PHP script return
> a boolean true or false or 1 and 0 and then making sure your response
> type is value.
i'm also using a boolean identifier like
ACK = true, or ACK = false in the JSON-response

if (ACK) { do ..}
else { fail ...}
this has the advantage that even if ACK is null or undefined the
comparison evaluates to false and fails properly...

Reply via email to