环境:Visual Studio 2008
语言:C#
程序:ASP.NET  其中TextBox1是.net控件。
    protected void Page_Load(object sender, EventArgs e)
    {
        if(!Page.IsPostBack)
        {
            TextBox1.Attributes.Add("onblur", "textboxonblur()");
        }
    }
在前台代码中:
    <SCRIPT   language="javaScript">   
      function   textboxonblur()   
      {   
              
      }   
    </SCRIPT>我想实现当TextBox1失去焦点时,如果TextBox1输入为空,则Label2标签值的Visible属性变为True.
 请问   function textboxonblur()   
       {   
              
       } 里面的代码该怎么写???????????????