Client script to fetch address from address doctype based on selected customer from dropdown

Hi, I am new to erpnext.

I have three doctype

  1. Address
  2. Customer
  3. Job

Customer is link with address
Job is link with Customer

Based on change selection of customer from dropdown in Job doctype, i want to fetch customer address and put in address field of job doctype.

How can I achieve this task.

Hi @nadeemkhan.1991,

I think first you should the documentation because your scenario will solve from it.

Thank You!