取beizhu字段的内容传递到doit(yxs1)函数的参数中,输入beizhu字段的内容如是单行的那么程序运行正常,如输入时用回车换行了,则函数中的参数取不到值,请问该怎么办啊?
function doit(yxs1)
{
document.write(yxs1);
}response.write "<tr bgcolor="&bgclr&" style='cursor:hand;' onmouseover=this.style.backgroundColor='blue' onmouseout=this.style.backgroundColor='' onclick='doit("""& rs("beizhu") & """ )'>"
function doit(yxs1)
{
document.write(yxs1);
}response.write "<tr bgcolor="&bgclr&" style='cursor:hand;' onmouseover=this.style.backgroundColor='blue' onmouseout=this.style.backgroundColor='' onclick='doit("""& rs("beizhu") & """ )'>"
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货