如何处理包含&#106avascript语句时的间隔符?

发布时间:2022-04-17 发布网站:脚本宝典
脚本宝典收集整理的这篇文章主要介绍了如何处理包含&#106avascript语句时的间隔符?脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。

&nbsp;struserlist = struserlist &amp; "<a href='#' onclick=\" & chr(34) &_

"sendmsg('" & usernick & "');return false;\" & chr(34) &_

" class='l_line'><span class=lineinfo>" & usernick & "</span></a>"

' StrUserList字串被赋值给另一个页面上的一个表单中隐藏文本单元.

if (top.LineInfo.document.forms.length == 1)

{

 top.LineInfo.document.forms[0].userlist.value = "<% =GetAppUserList() %>";

 if (top.MainFrame.mylayer != null)

 top.MainFrame.ShowLineInfo();

}

在主页帧中显示:

function ShowLineInfo()

{

 VAR userlist;

 if (top.LineInfo.document.forms.length == 1)

 userlist = top.LineInfo.document.forms[0].userlist.value

 else

 userlist = "<span class='lineinfo'>欢迎光临闪亮日子之春风精彩!</span>";

 userlist = userlist + " <a href='<% =path %>/listuser.asp'>" +

    "<span class='lineinfo'>显示列表</span></a><a href='#' onclick='top.RefFrame.location=" +

  ""<% =path %>/refresh.asp?stat=manu"'><span class='lineinfo'> 刷新</span></a>";

if (mylayer != null)

{

  mylayer.innerhtML = "";

  mylayer.@R_304_794@[0].Apply();

  mylayer.innerhtml = userlist

  mylayer.filters[0].play();

}

}

脚本宝典总结

以上是脚本宝典为你收集整理的如何处理包含&#106avascript语句时的间隔符?全部内容,希望文章能够帮你解决如何处理包含&#106avascript语句时的间隔符?所遇到的问题。

如果觉得脚本宝典网站内容还不错,欢迎将脚本宝典推荐好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。
标签: