[求助] attributes同时调用2个js方法的问题
this.ImageButtonBack.Attributes["OnClick"] = "g_PDisConnectKP();return g_CloseWindow()";这个方法单击ImageButtonBack按钮时不会关闭窗体。修改为:this.ImageButtonBack.Attributes["OnClick"] = "g_PDisConnectKP()";
this.ImageButtonBack.Attributes["OnClick"] = "return g_CloseWindow()";时单击ImageButtonBack按钮就可以关闭窗体。
this.ImageButtonBack.Attributes["OnClick"] = "g_PDisConnectKP();return g_CloseWindow()";这句话错在哪里?要怎么修改,谢谢了。