Salesforce lightning component:
I'm trying to solve an issue of accessing an object's field dynamically - e.g. obj.get(fieldAPI);
After trying numerous workarounds I decided to try and Id div's uniquely and then with jQuery to populate these. E.g. .
I have the correct code to update the div, BUT when I run the script while INIT the DOM is not ready yet [Its undefined to be accurate].
Any idea how to work out these please?
Cheers!