Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2839 Visualizações

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
2
dez. 24
1617
0
mai. 23
3673
0
nov. 24
1482
0
nov. 16
4484
0
jul. 25
405