subject
Computers and Technology, 19.05.2020 20:06 suzzi95

Modify this page so that when the user clicks out of the ‘txtName’ field (i. e. when the focus is lost or the text field is "blurred"), you do a simple validation: Retrieve the value that the user entered. Output (to a nearby div section) a greeting to the user using their name (e. g. "Hello, Janet"). If they did not enter anything in the text field (i. e. if the value is an empty string), output to the same section: "You must enter a name." When the user re-enters the text field (i. e. when it regains the 'focus' hint hint…), clear out whatever message was in that div section previously. Note: There are better ways of doing form validation, but we’re just practicing with some basic techniques for now.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 16:00
What is the biggest difference between section breaks and regular page breaks? section breaks are more difficult to add than page breaks. section breaks make it easier for you to view the document as an outline. section breaks allow you to have areas of the document with different formatting. section breaks are smaller than regular page breaks.
Answers: 2
question
Computers and Technology, 23.06.2019 20:50
3.11.3 quiz: comparing and analyzing function typesquestion 4 of 102 pointswhat can you say about the y-values of the two functions f(x) = 3x2-3 andg(x)=2* - 3?
Answers: 2
question
Computers and Technology, 23.06.2019 21:40
Simon says is a memory game where "simon" outputs a sequence of 10 characters (r, g, b, y) and the user must repeat the sequence. create a for loop that compares the two strings. for each match, add one point to user_score. upon a mismatch, end the game. sample output with inputs: 'rrgbryybgy' 'rrgbbrybgy'
Answers: 3
question
Computers and Technology, 24.06.2019 21:40
Clunker motors inc. is recalling all vehicles in its extravagant line from model years 1999—2002 as well as all vehicles in its guzzler line from model years 2004—2007. a boolean variable named recalled has been declared. given a variable modelyear and a string modelname, write a statement that assigns true to recalled if the values of modelyear and modelname match the recall details and assigns false otherwise.
Answers: 2
You know the right answer?
Modify this page so that when the user clicks out of the ‘txtName’ field (i. e. when the focus is lo...
Questions
question
Mathematics, 08.05.2021 23:30
question
World Languages, 08.05.2021 23:40
question
Arts, 08.05.2021 23:40
question
Mathematics, 08.05.2021 23:40
question
Mathematics, 08.05.2021 23:40