+ 1

Java Script

Fill in the blanks to select all div elements and alert the content of the third div. var arr = document. getElementsByTagName(" "); alert(arr[ ].innerHTML);

16th Apr 2020, 7:14 AM
Manjeet Singh
Manjeet Singh - avatar
9 odpowiedzi
+ 5
var arr = document. getElementsByTagName("div"); alert(arr[2].innerHTML);
13th Aug 2020, 11:36 AM
omo daniel
omo daniel - avatar
+ 2
Please imagine you how looks an array and you will get it.
16th Apr 2020, 4:55 PM
JaScript
JaScript - avatar
0
You could review the course again so you won't forget it. Getting answers here means you don't know it permanently and will forget again.
16th Apr 2020, 7:46 AM
Jella
Jella - avatar
0
blank (1)------div blank (2)------2
14th May 2020, 9:51 AM
MU'TAZ
MU'TAZ - avatar
0
Fill in the blanks to select all div elements and alert the content of the third div. var arr = document. getElementsByTagName("div"); alert(arr[2].innerHTML);
2nd Jul 2020, 6:29 PM
Rustamjon Kosimov
Rustamjon Kosimov - avatar
0
var arr = document. getElementsByTagName("div"); alert(arr[2].innerHTML);
6th Aug 2020, 8:33 AM
Morris Obuhuma
Morris Obuhuma - avatar
0
var items = $("div"). siblings (); items .hide();
4th Mar 2021, 1:41 PM
Cesar Aramayo
Cesar Aramayo - avatar
0
$(" # txt"). siblings (). remove ();
4th Mar 2021, 1:59 PM
Cesar Aramayo
Cesar Aramayo - avatar
0
div 2
20th Sep 2021, 6:49 PM
Rb Raihan
Rb Raihan - avatar