+ Start a Discussion
ChizChiz 

Is the concept of DOM ids used in the Iteration method of accessing components?

Hi all,

I have a new question from a quiz:

 

---

State whether the following statement is True or False.

In the Iteration method of accessing components, the concept of DOM ids is used.

 

a. False

b. True

---

 

Please, can you point me into documentation where you find the answer?

Best Answer chosen by Admin (Salesforce Developers) 
Rahul SharmaRahul Sharma

Id or the Class Name can used to access the components inside a dom.

But, we use that in jQuery.

In apex, We iterate the nodes of the dom instead of its Id.

so answer is no.