How to access custom fields in javascript?
I have Account with both standard and custom fields. I use the default Page Layout to display and edit any acc. It is necessary to populate some of fields in javascript, so I need access to each of them.
Standart Account fields have a readable ids, such as acc1, acc15, acc16 (see attachments). They are the same for each account.
But custom fields have unique ids, so I cant identify them in DOM (attachments)
What is the best to have access to custom fields on standard Account Page Layout? Thanks a lot.