تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2724 أدوات العرض

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
ديسمبر 24
1438
0
مايو 23
3527
0
نوفمبر 24
1289
0
نوفمبر 16
4393
0
يوليو 25
228