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

Accessing DOM elements

Hi All,
       How we add DOM elements for eg. DIV,P etc to component through javascript controller? One more question - Can we use jquery in lightning component? 
Himanshu ParasharHimanshu Parashar
Hi Sandeep,

Here is the documentation to add component dynamically.

Yes, You can use jquery in lightning component as well.

Let me know if you have any other question