我在asp.net中的CS页面中是这样写的this.btn_SelSubject.Attributes.Add("onclick","getSelSubject("+getid+",'"+getTitle+"','"+getInfoFrom+"','"+getContent+"');");其中我的getContent,是一整篇的文章内容,Debug跑过可以看到东西,都传过来了,但是在我的aspx页面中是这样的<script language="javascript">
function getSelSubject(getid,getTitle,getInfoFrom)
{
window.showModalDialog("SubjectTree.aspx?id="+getid+" &Title="+getTitle+" &InfoFrom="+getInfoFrom+" &Content="+getContent+"",null,"dialogwidth:200px;dialogheight:500px;help:0;center:yes;resizable:0;status:0;scroll:yes");
return;
}
</script>SubjectTree这个页面打不开,没有反应,不知道为什么,请高手们帮忙,如果我不写那个getContent,就可以,是不是我这里面的内容过长啊,我要怎么做呢,谢谢大家!!