WED201c_-_SU_2024_-_TE2_2592.webp
Sơn Tùng1

WED201c_-_SU_2024_-_TE2_2592.webp

Kizspy | Question: 19 (Choose 1 answer)
function change(obj){var list-obj.getElementsByTagName("ul");If(list[0].style.display=="block")list[0].style.display="none";list[0].style.display="block";else
}
<li>link 1</li>
<ul><li onclick="change(this)">link 2 <ul><li>link 21</li><li>link 22</li></ul></li>
</ul>What is the output of above function?
A. To show/hide the child list
B. To show/hide all lists
C. To show/hide the item(link2)
D. None of the others
FUOV

Thông tin

Category
WED201c
Thêm bởi
Sơn Tùng1
Ngày thêm
Lượt xem
5,148
Lượt bình luận
29
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom