Question: Grading Web Page with JavaScript function 2 (ThisPage) if (!ValidateGrade(ThisPage. 3 .value)) { alert(The grade is incorrect. Please type again!) ThisPage. Grade.focus() ThisPage. select() return

 Grading Web Page with JavaScript function 2 (ThisPage) if (!ValidateGrade(ThisPage. 3

Grading Web Page with JavaScript function 2 (ThisPage) if (!ValidateGrade(ThisPage. 3 .value)) { alert("The grade is incorrect. Please type again!") ThisPage. Grade.focus() ThisPage. select() return false

Input Grade for Student!


What Grade would you like to enter (Choices: A, B, C, D, F, I, W)?

5 true

6 ValidateGrade(MyGrade) { if (MyGrade == "") { return false } IsNotAGrade =" !@#$%^&*" for (g=0; g=0) { return false } } alert("Grade Submitted, Thanks!") return true

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!