3
There are 2 problems:
1.use registerstartupscript instead.
2.style.display='block' is actually rendered as a div. As far as I know, FF
has problem with it if the following uses colspan.
端
【在 l*******r 的大作中提到】![](/moin_static193/solenoid/img/up.png) : 一个aspx页面上有个原本隐藏的html control,当某一个event发生时希望能从server端 : 调用一句JavaScript把这个html control显示出来 : 这个html control的定义是 : : 我在C#的code behind file里调用JavaScript : string script = " : this.RegisterClientScriptBlock("ClientScript",script); : 结果无效。如果script里只是一句alert("...")是能执行的,但是document.
|