data comes back from ajax call and after the extend JobViewModel has the field PatientFirstName and is populated
however txt_FirstName is never populated with the value in PatientFirstName
i do var JobViewModel = kendo.observable({ }); because I only want to work with what comes back fro the ajax call
what do I have to do to get this to work?
thanks
<div id="content_wrapper">
....many divs deep
<input type="text" id="txt_FirstName" data-bind="value: PatientFirstName" />
</div>
from ajax call
success: function (data) {
var JobViewModel = kendo.observable({ });
$.extend(JobViewModel, data);
kendo.bind($("#content_wrapper"), JobViewModel);
}
however txt_FirstName is never populated with the value in PatientFirstName
i do var JobViewModel = kendo.observable({ }); because I only want to work with what comes back fro the ajax call
what do I have to do to get this to work?
thanks
<div id="content_wrapper">
....many divs deep
<input type="text" id="txt_FirstName" data-bind="value: PatientFirstName" />
</div>
from ajax call
success: function (data) {
var JobViewModel = kendo.observable({ });
$.extend(JobViewModel, data);
kendo.bind($("#content_wrapper"), JobViewModel);
}