i need to validate birthday using javascript. the validation is that for example user couldn't choose the date 29, 30 and 31 if she has chosen February as the month before and the year % 4 isn't 0.
i've done this with disabling the 29, 30 and 31 options in the select widget. here's the example code
Expand|Select|Wrap|Line Numbers
- document.register.birthday.options[31].disabled = true;
how to achieve this in IE, or is there any workaround for this for IE?
Thank you,
SC