javascript - Render an array of objects in mustache js -


[object, object]     0: object         0: object         id: 1         name: "xvxvxcv"         semester: 2     1: object 

how can render array of objects in mustache js? can't use {{#data}} {{/data}} iterate because hasn't name.

[object, object]     0: object         0: object         id: 1         name: "xvxvxcv"         semester: 2     1: object 

probably output shown in js console. got output entering variable. of course, must have assigned object variable. when have variable assigned object, can directly access variable in mustache code this,

{{#object}}   {{key}} : {{value}} {{/object}} 

Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -