Question: 16. 13 ptsl Write a one-line Javascript function hello(v) that pops up the value of a text field, whose id is contained in a variable

 16. 13 ptsl Write a one-line Javascript function hello(v) that pops

16. 13 ptsl Write a one-line Javascript function hello(v) that pops up the value of a text field, whose id is contained in a variable v. The popup alert message displays: Hello followed by the value of the element whose id is in v. The value should appear below the Hello in the popup message 17. Define and execute an SOL statement that tests if a given user name Suser and password $pass are in the A table used in Assignment01/02. The code must also output the actual SOL error message if there is an SQL error. 18. Write a PHP expression that extracts the 1t row of a table already retrieved from MySQL and saved in $t and stores the extracted row in $r 19, [3 pts/ write the query string part of a URL form request (the part of the generated U RL after the question-mark) i f the only form inputs arwith data:+ba (that is a plus s a. A field named "user" with data:+ba (that is: aplus sign followed by ba followed by two spaces) b. A field named "pass" with data equal to 007 Note: if a character requires an ASCIl representation in the encoded URL, you must give its actual ASCII code which will be preceded by a % symbol. If you don't know the actual code you may write %XX at a loss of one point. 20. Assume the contents of a form are contained in a fieldset. Write a CSS rule to center the form's fieldset on a page using the margin property, make it take up 70% of the browser width, and make the background color of the fieldset a very light gray (use hexadecimal notation for the color.) You must enclose the rule in a separate style element, not in an embedded style attribute. 21. [3pts! Aform has a numeric input field. The field has name"N" and id="N". Write a Javascript function that blocks the form from being submitted if the field's contents are either not numeric or are empty. In this case popup a message that says not a number. Don't provide any html

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!