Question: Given an Element(s) how would I select them using JavaScript? 1.a: Get(selectMe) document.getElementById(selectMe) $(.selectMe) Both b and c Both a and c 1.b: document.getElementById(section) document.getElementById(section1);
- Given an Element(s) how would I select them using JavaScript?
1.a:
- Get(selectMe)
- document.getElementById(selectMe)
- $(.selectMe)
- Both b and c
- Both a and c
1.b:
- document.getElementById(section)
- document.getElementById(section1); document.getElementById(section2)
- $(#section)
- document.getElementsByClassName(section)
- Both b and c
- Both c and d
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
