Skip to Content
Menú
This question has been flagged
2609 Vistes

Hi

I have successfully inherited a controller and add an extra field to the dictionary passed to the template. now I need to access this field in the javascript file that I have Injected in the template (i have tested it with console log and it is running successfully)

one tried solution is using this new parameter in the template as a hidden element and access it with javascript, but this solution is just a dirty job, and I want to avoid dirty works if it has a better solution 

Thanks

Avatar
Descartar
Related Posts Respostes Vistes Activitat
2
de des. 24
1275
0
de maig 23
3407
0
de nov. 24
1147
0
de nov. 16
4302
0
de juny 25
365