How could the following code sometimes evaluate to false?
(transport.responseText == \'1\' || transport.responseText == \'CARD_VALID\')
M
If you want something a little less complicated and you are dealing with NUMERIC VALUES, use
parseFloat()
works like a charm