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

Using 'OR' and 'AND' in SQL Server -

c++ - NetBeans Remote Development with additional configuration -

visual studio - TFS will not accept changes I've made to a Java project -