在aspx文件里面放置一个<div name=divTest></div>在cs:
Response.Write("<Script language=javascript>windonw.document.all.divTest.innerHtml='" + "你要输出的文字" + "';</script>");
Response.Write("<Script language=javascript>windonw.document.all.divTest.innerHtml='" + "你要输出的文字" + "';</script>");
这个很好的!!1
PlaceHolder1.Controls.Add(new LiteralControl("***content***"));
这样就输出了content,记住,content可以是任意的HTML内容!
RegisterClientScriptBlock("clientScript", showOpen)
End If
RegisterClientScriptBlock("clientScript", showOpen)
End If
是什么意思?解释一下吧,看不懂