Answered step by step
Verified Expert Solution
Link Copied!

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

Q11. 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 5px, 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 5px, solid and red.
Vinod simply uses a validate button and everything is taken care of.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

JDBC Database Programming With J2ee

Authors: Art Taylor

1st Edition

0130453234, 978-0130453235

More Books

Students also viewed these Databases questions

Question

What is the time complexity of RBT left rotation

Answered: 1 week ago

Question

Create a Fishbone diagram with the problem being coal "mine safety

Answered: 1 week ago