Question: This example uses oninput event just for one textbox. If user enters an odd number, the image (on the right of textbox) is changed OK.

This example uses "oninput" event just for one textbox. If user enters an odd number, the image (on the right of textbox) is changed "OK". If even, then image shows "NO" icon. If there is no input in the box, then there is no image is shown. In a similar way, you will have three input field at one page, with the following order. Form Validation Username: Password: Email: The validation rules are as follows: The username field must contain only alphanumeric characters. The password field should be at least five characters long. The email field should be a valid email address (abc@def.xyz). In simplest form, it should contain at least "@" character and "!" Accordingly "@.", and "@" will be valid entries. Similar to above example (proj1_sample.html) you need to show OK image if entry is valid or NO image is entry is not valid.The small (25x25) image will be on the right of text fields. If user enters nothing (empty box) in box, then no image is shown (same as proj1_sample.html). To complete this assi

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!