Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2985 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 12 24
1850
0
thg 5 23
3883
0
thg 11 24
1787
0
thg 11 16
4586
0
thg 7 25
592