加入收藏 | 设为首页 | 会员中心 | 我要投稿 淮北站长网 (https://www.0561zz.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长学院 > MySql教程 > 正文

如何处理包含javascript语句时的间隔符?

发布时间:2016-11-29 17:37:06 所属栏目:MySql教程 来源:站长网
导读:nbsp;struserlist = struserlist "lt;a href='#' #111nclick=" chr(34) _ "sendmsg('" usernick "');return false;" chr(34) _ " class='l_line'gt;lt;span class=lineinfogt;" usernick "lt;/spangt;lt;/agt;" ' StrUserList字串被赋值给另一个页面上的

nbsp;struserlist = struserlist "lt;a href='#' #111nclick=" chr(34) _

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

" class='l_line'gt;lt;span class=lineinfogt;" usernick "lt;/spangt;lt;/agt;"

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

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

{

nbsp;top.LineInfo.document.forms[0].userlist.value = "lt;% =GetAppUserList() %gt;";

nbsp;if (top.MainFrame.mylayer != null)

nbsp;top.MainFrame.ShowLineInfo();

}

在主页帧中显示:

function ShowLineInfo()

{

nbsp;var userlist;

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

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

nbsp;else

nbsp;userlist = "lt;span class='lineinfo'gt;欢迎光临闪亮日子之春风精彩!lt;/spangt;";

nbsp;userlist = userlist + " lt;a href='lt;% =path %gt;/listuser.asp'gt;" +

nbsp; nbsp; "lt;span class='lineinfo'gt;显示列表lt;/spangt;lt;/agt;lt;a href='#' #111nclick='top.RefFrame.location=" +

nbsp; ""lt;% =path %gt;/refresh.asp?stat=manu"'gt;lt;span class='lineinfo'gt;nbsp;刷新lt;/spangt;lt;/agt;";

if (mylayer != null)

{

nbsp; mylayer.innerhtml = "";

nbsp; mylayer.filters[0].Apply();

nbsp; mylayer.innerhtml = userlist

nbsp; mylayer.filters[0].Play();

}

}

(编辑:淮北站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    热点阅读