You need to sign in to do that
Don't have an account?
sandeep.saini
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?
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?
Here is the documentation to add component dynamically.
https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/js_cb_dynamic_cmp_async.htm
Yes, You can use jquery in lightning component as well.
Let me know if you have any other question
Thanks,
Himanshu