javascript - Uncaught Error: Unable to parse bindings -


uncaught error: unable parse bindings. message: referenceerror: value not defined; bindings value: text: value.

here's code

    ko.applybindings(new appviewmodel(myobject.storerows),document.getelementbyid("addnewupdateform"));            $("#abc").live('click',function() {     $.ajax({         url: "request.json",         //get method used         type: "post",         //pass data         data: data,         datatype: 'json',         success : function(response) {             function viewmodelsku()  {                 self = this;                 this.skudata = skudata;             }             var skudata = response.rows;             ko.applybindings(viewmodelsku(), document.getelementbyid("row"));         }     }); } 

the error in view. binding value whereas apparently property not exist in viewmodelsku. perhaps want bind skudata.value inside view (if property on skudata)


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -