Question: Execute a JavaScript when a form is submitted( The form was submited). Can verify my code cuz is not working in Chrome and IE. Also

Execute a JavaScript when a form is submitted( The form was submited). Can verify my code cuz is not working in Chrome and IE. Also the dynamic code need to verify if is correct I created in separted file too. HTML, Javacsript + dimanic

_____________________________________________-

!DOCTYPE html>

Proyecto Final

Submit Form

CECS-6760

--------------

// dynValue.js

// Illustrates dynamic values var helpers = ["Your name must be in the form: \ first name, middle initial., last name", "Your email address must have the form: \ user@domain", "Your user ID must have at least six characters", "Your password must have at least six \ characters and it must include one digit", "This box provides advice on filling out\ the form on this page. Put the mouse cursor over any \ input field to get advice"] // *********************************************************** // The event handler function to change the value of the // textarea function messages(adviceNumber) { document.getElementById("adviceBox").value = helpers[adviceNumber]; }

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!