Ir al contenido
Menú
Se marcó esta pregunta
3207 Vistas

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
Publicaciones relacionadas Respuestas Vistas Actividad
2
dic 24
2061
0
may 23
4114
0
nov 24
1994
0
nov 16
4765
0
jul 25
827