I'v working on EmberJS app and facing this very tricky problem:
I've Bind a JSON Object to form , When value entered through Key Board then working fine but if a value assign through JQuery its was successfully enter in input and display but this value not refelect in JSON Object.
JSON Object:
var obj = {
ctry_id: "",
ctryl_name: "",
};
Ember Route:
setupController: function (controller, model) {
controller.set('model', model);
},
HandelBar View:
jQuery:
$('#ctryl_name').val('text valu');
Aucun commentaire:
Enregistrer un commentaire