Question: #722

Explain how an image could be accessed by name and by array number All Correct 10 10

Please complete the following short answer questions with code snippets as well as paragraphical responses. This assignment should not be an exercise in copy and paste, but an assessment of your comprehension and evaluation of the course materials.
(Note: Please replace the less than/greater than signs in your code with double braces {{ }}, as the less than greater than signs will NOT render in your response. If you are using Microsoft Word to submit your answers, all first letters of your code line MAY be auto capitalized. This is not proper coding for JavaScript. Please keep in mind, for example Do is not the same as do, For is not for, Alert it not alert and Var is not var. Points WILL be deducted for incorrect capitalization of code.)

1. Question Short Answer/Essay - 10 points
Give the syntax of do..while statement.


2. Question Short Answer/Essay - 10 points
Explain how an image could be accessed by name and by array number.


3. Question Short Answer/Essay - 10 points
Write a function that uses substring method of String object to get the 'Scr' part of the string 'JavaScript'. Also use the length property and write the length of the string 'JavaScript' and use the charAt method to get the 'S' from 'JavaScript' and write that.


4. Question Short Answer/Essay - 10 points
Explain how a Date object's instance is created and used. Also describe any three methods of the Date object.


5. Question Short Answer/Essay - 10 points
Write a function to output the names and values of a form's fields using the elements property of the form.


6. Question Short Answer/Essay - 10 points
Give syntax of calling JavaScript functions from radio button(s), checkbox(es) and text objects.


7. Question Short Answer/Essay - 10 points
With an example to explain how a Cookie's presence could be tested. Do not use JavaScript or any other tags as that would hide the answer.


8. Question Short Answer/Essay - 10 points
Write briefly on JavaScript security issues.


9. Question Short Answer/Essay - 10 points
Give an example to target frames using scriptable button object.


10. Question Short Answer/Essay - 10 points
Explain the special function called a constructor in creating a JavaScript object.

Solution: #736

Explain how an image could be accessed by name and by array number All Correct (10/10)

Explain how a Date object's instance is created and used. Also describe any three methods of the Date object.

Dat...

Tutormaster
Rating: A+ Purchased: 11 x Posted By: Tutormaster
Comments
Posted by: Tutormaster

Online Users