Skip to Content
Menu
This question has been flagged
1755 Views

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
Discard
Related Posts Replies Views Activity
2
Dec 24
57
0
May 23
2163
0
Nov 24
85
0
Nov 16
3599
3
Dec 24
20068