javascript - kendo UI binding select elements -
i'm building simple mobile application , want bind html select elements observable kendo object. simple input text straightforward select elements receiving error when changing select values:
uncaught typeerror: object #<object> has no method
here jsfiddle example:
additionally on insert button, object not changing property values present on select elements.
the problem selects
have defined function , needs object. try defining them as:
zonas : [ { zonaid : 1, nome : "zona1" }, { zonaid : 2, nome : "zona2" } ], estados : [ { estadoid : 1, nome : "activo" }, { estadoid : 2, nome : "inactivo" } ], utilizadores: [ { utilizadorid : 1, nome : "user1" }, { utilizadorid : 2, nome : "user2" } ]
regarding insert
button, problem inserirentidade
not being invoked since not visible/accessible when click.
you have define function global.
check here:
Comments
Post a Comment