var ArrivalCity = (data.aircraftView[0].arcftSchedList[0].tripArrivalCity);
$('input[title="Origin"]').val(ArrivalCity);
Here the origin is a single line text box field where I am populating the value from the rest api. I am able to retrive the value in ArrivalCity. But it is not putting the data in the Origin which is a single line text field. I tried different approaches but was not able to figure out. Can anyone help me with this?