Intro to java script Flashcards

1
Q

This function allows us to change parts of
the HTML.

A

document.getElementByID()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

method returns the
element that has the ID attribute with the
specified value.

A

getElementById()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

in the HTML DOM, and is used almost
every time you want to manipulate, or get
info from, an element on your document.

A

document.getElementByID( )

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

method displays an alert box
with a specified message and an OK
button.

A

alert(“”)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

is often used if you want to
make sure information comes through to
the user.

A

alert box

How well did you know this?
1
Not at all
2
3
4
5
Perfectly