[Gllug] javascript question
Adrian McMenamin
adrian at mcmen.demon.co.uk
Wed Apr 17 23:40:45 UTC 2002
Well I am developing this on a Linux system....
Why does Mozilla trap expired credit cards - but Konqueror (and the Evil
Empire's browser) do not?
if (parseInt(document.ticket_order.card_year.value, 10) == 2){
var right_now = new Date;
if (right_now.getMonth() >=
parseInt(document.ticket_order.card_month.value, 10)){
alert("Sorry, your credit card appears to have expired. Please check
the expiry date.");
return false;
}
}
}
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list