I am using wrapper class to fetch the consumer object values and passed into Data table,
In that I am using consumer code and consumer name are the two text boxes.
Once I am enter the Consumer code, I need to make a Webservice call via javascript(not in apex code) and fetch the customer name from external webservice.
How to do that?
Plese share the sample code also if possible.