Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Q 1 1 . Vinod is a Ul expert. He is designing a form in html . There few values. Vinod has put in a
Q Vinod is a Ul expert. He is designing a form in html There few values. Vinod has put in a html button of type button for validating the field before submitting. This button shauld highlight the field with a thick red border if the values are incorrect. How does Vinod design the html page.
Options
Vinod uses javascript to validate the form when the validate button is clicked. If the field has improper values, the style of the input field will be set so that the border is solid and red.
Vinod uses jQuery to validate the field when validate is clicked but he also uses CSS and defines the style for invatid input as a class. If the field has improper values, the class of the input element is changed to invalid.
Vinod uses jQuery to validate the form when the validate button is clicked. If the field has improper values, the style of the input field will be set so that the border is solid and red.
Vinod simply uses a validate button and everything is taken care of
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started