Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2837 Tampilan

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
Buang
Post Terkait Replies Tampilan Aktivitas
2
Des 24
1613
0
Mei 23
3673
0
Nov 24
1480
0
Nov 16
4483
0
Jul 25
404