100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

Javascript Final Exam Study Questions with Complete Solutions

Rating
-
Sold
-
Pages
12
Grade
A+
Uploaded on
10-06-2024
Written in
2023/2024

- mean answers comes before the questions** Anywhere in the body of a web page - Where are <form> </form> tags placed? submit, reset, & hidden - Buttons that can be automatically created using the type attribute are: By email, to a javascript program, & to a server - Which of the following are ways to submit form data? name - When using a set of radio button, which attribute must be the same for all buttons in the set? shortString = longSr (6, 3); - Which line of code should be used to make the following code snippet work? var longString = "Great day, isn't it?"; var shortString = ______________________ ("It's going ton rain to" + shortString); Which of the following will send form results from a form named "importantInfo" to the email address with the subject "Read this!" - Which of the following will send form results from a form named "importantInfo" to the email address with the subject "Read this!" if (var charX.charAt[i] == "X"); - Which line of code will check if any character in the string variable pword is the letter X and return true for the variable check? var check = false; for (i = 0; i < h; i++) { _____???_______ check = true; } the id attribute - Given the following line of code, what does the this keyword refer to? <input type = "button" name = "murgatroyd" id = "Mortimer" onclick = "doSomething()" /> tab index - Which of the following sets or changes the tab order of form controls? onfocus = "setBlue('blue')" - Which of the following will call a function named setBlue() when a text box with id = "blue" gets the focus? <a href="Javascript:doStuff()"> <img src = "redB"> </a> - Which of the following will substitute an image named redB that is stored in the same place as the web page for a generic button? The doStuff() function is called when the button is clicked. ElementById("color_change").round = "blue"; - Which of the following is the correct way to set a background color of blue to an HTML element with id = "color_change"? if(myNh > 2 && myNh < 11) - Which of the following checks to see if the number of characters in a given string named myName is greater than 2 and less than 11? Radio Buttons - _____ are used to allow users to select only one option at a time. <form></form> - A form using the ______ tag pair can be placed anywhere within a web page. event handler - When a form is enhanced with JavaScript, an ___

Show more Read less
Institution
Javascript
Course
Javascript









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Javascript
Course
Javascript

Document information

Uploaded on
June 10, 2024
Number of pages
12
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
AnyaTaylor A.T. Still University
Follow You need to be logged in order to follow users or courses
Sold
98
Member since
1 year
Number of followers
25
Documents
1934
Last sold
1 week ago
Williams Tech.Smartlearners

4.3

16 reviews

5
11
4
2
3
1
2
0
1
2

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions