Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2710 Представления

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
2
дек. 24
1421
0
мая 23
3505
0
нояб. 24
1280
0
нояб. 16
4381
0
июл. 25
180