I have a dropdownlist which contains value, text and estimatedHours, how can I estimatedHours to another input field on change?
<ej-drop-down-list id="serviceList"
ej-for="@Model.Trade.Service_Fk"
datasource="(IEnumerable<ServiceItem>)@Model.Services"
watermark-text="Select a service"
width="250px"
change="serviceList_change"
value="@Model.Trade.Service_Fk"
template="<div> ${text} </div> <div class='estHrs'>${estimatedHours} </div>">
<e-drop-down-list-fields text="text" estimatedHours="estimatedHours"/>
</ej-drop-down-list>
<ej-numeric-text-box id="EstimatedHours" decimal-places="1" ej-for="@Model.Trade.EstimatedHours" increment-step=".5" />
<script>
function serviceList_change(args) {
var dropdownObj = $("#serviceList").ejDropDownList('instance');
??????????????????????
}
</script>