popup - SyntaxError: missing ; before statement in kendoui -


how come when i'm clicking on update button popup kendo grid , error ocurrs?

  • the error in firefox browser in form : syntaxerror: missing ; before d.0=value

  • and in chrome browser : uncaught syntaxerror: unexpected number

i've uploaded video regarding error elaboration n stuff

jsfiddle code

video

code

transport: {     read: {         url: 'https://dl.dropboxusercontent.com/sh/u9oxg5f6uweqh40/cbr3pnvg04/documentj',         datatype: 'json',         type: 'get',         cache: false         },     update: function(e) { return true; } } save: function (e) {     var = this;     $.ajax({         url: '/echo/json',         type: e.model.id == null ? 'post' : 'put',         contenttype: 'application/json',         datatype: 'json',         data: json.stringify(e.model),         success: function (data) {             // alertify.log.success(data);             console.log('ok dadasaved');             that.refresh();         },         error: function (data) {             //  alertify.log.error(data);             console.log('no datasaved');             that.cancelrow();         }     }); } 

you should provide more code detect what's wrong code, read this may you:

such error occurs when transport definitions inconsistent. in other words, if use custom transport method, transport types should defined functions.

having standard read transport , custom update not supported. please configure transports functions , let me know if error still occurs.


Comments

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

javascript - addthis share facebook and google+ url -