js 中${}是什么意思?
代码:
<script type="text/javascript">
var sBasePath = Server.ContextPath+"Editor/" ;
var oFCKeditor = new FCKeditor( 'Content' ) ;
oFCKeditor.BasePath = sBasePath ;
oFCKeditor.Width = 650 ;
oFCKeditor.Height = 800 ;
oFCKeditor.Config['EditorAreaCSS'] = '${CssPath}';
oFCKeditor.Config[ 'ToolbarLocation' ] = 'Out:xToolbar' ;
oFCKeditor.Value = $V("_Content");
oFCKeditor.Create() ;
</script>
就是这里${CssPath},还有$v()这又是什么意思?在这里$V("_Content");
代码:
<script type="text/javascript">
var sBasePath = Server.ContextPath+"Editor/" ;
var oFCKeditor = new FCKeditor( 'Content' ) ;
oFCKeditor.BasePath = sBasePath ;
oFCKeditor.Width = 650 ;
oFCKeditor.Height = 800 ;
oFCKeditor.Config['EditorAreaCSS'] = '${CssPath}';
oFCKeditor.Config[ 'ToolbarLocation' ] = 'Out:xToolbar' ;
oFCKeditor.Value = $V("_Content");
oFCKeditor.Create() ;
</script>
就是这里${CssPath},还有$v()这又是什么意思?在这里$V("_Content");
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货