function ValidateEmail(email) { if (/^\w+([\-]?\w+)*@\w+([\]?\w+)*(\. Iw{2,3}) +S/.test(Form1.email.value)) { return (true) ; } This script should have the following html code . a. Ob. form name=" Form1" action=" " onclick="return ValidateEmail(email)" method="post"> . when the user submits the form's data. c. d.

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter6: Using Arrays
Section: Chapter Questions
Problem 1DE: Each of the following files in the Chapter.06 folder of your downloadable student files has syntax...
icon
Related questions
Question
function ValidateEmail(email) { if (/M\w+(L-J?\w+)*@\w+([\]?\w+)*(\. \w{2,3}) +$/.test(Form1.email.value)) { return (true) ; }
This script should have the following html code.
when the user submits the form's data.
a. <form name=" Form1" action=" " onsubmit="return ValidateEmail()" method="post">
O b. <form name=" Form1" action=""onclick="return ValidateEmail(email)" method="post">
c. <form name=" Form1" action=" " onmouseover="return ValidateEmail(email)" method="post">
Od. <form name=" Form1" action=" " onsubmit="return ValidateEmail(email)" method="post">
Transcribed Image Text:function ValidateEmail(email) { if (/M\w+(L-J?\w+)*@\w+([\]?\w+)*(\. \w{2,3}) +$/.test(Form1.email.value)) { return (true) ; } This script should have the following html code. when the user submits the form's data. a. <form name=" Form1" action=" " onsubmit="return ValidateEmail()" method="post"> O b. <form name=" Form1" action=""onclick="return ValidateEmail(email)" method="post"> c. <form name=" Form1" action=" " onmouseover="return ValidateEmail(email)" method="post"> Od. <form name=" Form1" action=" " onsubmit="return ValidateEmail(email)" method="post">
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Header Files
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L