使用var sCookiePhoto =“"在javascript行 [英] Use of var sCookiePhoto = "" line in javascript
本文介绍了使用var sCookiePhoto =“"在javascript行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
var sCookiePhoto = "<%=m_sCookiePhoto %>"
行.
添加了代码块[/编辑]
line in javascript..
Code block added[/Edit]
推荐答案
它将Server变量的内容读入Javascript.
在这种情况下,您应该有一个名为m_sCookiePhoto
的public
变量,当前实例的值将被拉入javascript代码中并使用.
It reads the content of a Server variable into the Javascript.
In this case, you should have apublic
variable calledm_sCookiePhoto
and the value of the current instance will be pulled into the javascript code and used.
这篇关于使用var sCookiePhoto =“"在javascript行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文