.net 中ScriptManager.RegisterStartupScript(this, this.GetType(),“showID",alert("+ID+"), true);
.net 中ScriptManager.RegisterStartupScript(this, this.GetType(),“showID",alert("+ID+"), true);
日期:2012-05-16 08:47:59 人气:1
ScriptManager.RegisterStartupScript(this, this.GetType(),“showID",alert('"+ID+"'), true);
ID双引号外面包个单引号,如上所示
