Using HTML and Javascript for Web Development: Create HTML form with HTML tag. This form will have
Fantastic news! We've Found the answer you've been seeking!
Question:
Using HTML and Javascript for Web Development:
Create HTML form with HTML tag. This form will have 2 text boxes and a button.
Textboxes will be for name and age. in javascript function, get the information written in name and age textboxes.
Check if the age is > 18 then print "you can get driver's license" on a label. Also change the background color to blue.
if age < 18 then print "you can not get driver's license" on a label. Also change the background color to red.
Call this function on button click event.
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date: