Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2734 Widoki

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
gru 24
1451
0
maj 23
3536
0
lis 24
1302
0
lis 16
4406
0
lip 25
259