0

How to access an object inside iteration of array in express handlebars

29th Oct 2021, 1:49 PM
MUNAVIR AHAMMED
MUNAVIR AHAMMED - avatar
2 odpowiedzi
+ 2
For example
29th Oct 2021, 2:06 PM
Pariket Thakur
Pariket Thakur - avatar
+ 1
{{#each product}} <button onclick="addToCart('{{this._id}}','{{user._id}}')>Add To Cart </button> {{/each}}
30th Oct 2021, 4:53 PM
MUNAVIR AHAMMED
MUNAVIR AHAMMED - avatar