function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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.