+ 2
write a html and javascript program for age vaildation form the given date of birth to today date
write a html program for input taken form the user write a javascript program for age validation if age>=18 then print major otherwise alert enter correct DOB please send the the code
2 ответов
+ 1
you can check the input before send it to php page in form attribute like <form action="actionpage.php" onsubmit="return a()">
and a() is function in javascript can return true to continue to action page or return false
the code::
https://code.sololearn.com/W7j5P6WL8Uxr/?ref=app
0
i want take date of birth date from the user