Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q 6 . Vinod is a Ul expert. He is designing a form in html . There is an input text field in a form

Q6. Vinod is a Ul expert. He is designing a form in html. There is an input text field in a form and at shauld not contain a few values. Vinod has put in a html button of type button for validating the field before submitting This button should highlight the field with a thick red border if the values are incorrect. How does Vinod design the hithi page.
Options
Vinod uses javascript to validate the form when the validate button is clicked. If the field has improper vilues, 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 invalid 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

Step: 3

blur-text-image

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

Professional IPhone And IPad Database Application Programming

Authors: Patrick Alessi

1st Edition

0470636173, 978-0470636176

More Books

Students also viewed these Databases questions

Question

9. Describe the characteristics of power.

Answered: 1 week ago