Hi all, bit new to javascript.
Could someone point me in the right direction as to accomplishing this please?
On some forums when you sign up you are asked what your date of birth is with three drop down lists (day // month // year). How do I do this and get it so that it automatically only allows access for anyone who is 18 or older based against the current year date (so as of writing february 19th 2009 would mean the youngest they could sign up would be if their date of birth was on 19/02/1991). etc
From reading other similiar threads I think it would start with:
[CODE]var d = new Date()
var time = d.getYear()
document.writeln(“It is the year “+time+”</p>”);
Thank you for your help
SuperS