Skip to content
Advertisement

How to pass aggregate array to JavaScript?

I have a list in Django views, and I want to pass it to JavaScript for iteration, I’ve tried serveral way but seems like the data can’t be used by the JavaScript, could anyone have a look, please?

JavaScript

”’

JavaScript

”’

JavaScript

”’

JavaScript

”’

Advertisement

Answer

JavaScript

template

JavaScript
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement