跳至內容
選單
此問題已被標幟
2705 瀏覽次數

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
12月 24
1408
0
5月 23
3499
0
11月 24
1273
0
11月 16
4369
0
7月 25
167