阅读背景:

Django引用服务器端模板代码中的Javascript变量

来源:互联网 

I have a page that adds textboxes dynamically, and on the dynamically added text boxes, I want to access the relevant context variable. To do so, I somehow need to use the 'i' variable inside the javascript code/template code to reference it's value in the context. Here's my javascript code where I need to use 'i' as an index for a context list:I have a page that adds textboxes dynamically,




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: