<div class="codetitle"> <span><a style="CURSOR: pointer" data="24293" class="copybut" id="copybut24293" onclick="doCopy('code24293')"><u>复aze代码</u></a></span> 代码如下:</div> <div class="codebody" id="code24293"> <br><%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> <br><br><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > <br><html xmlns="http://www.w3.org/1999/xhtml"> <br><head runat="server"> <br><제목></제목> <br><%-- <BR><script type="text/javascript"> <br>function E() { <br>var ary = document.getElementById("<%=TextBox1.ClientID %>"); <br>var b = ary.tagName; <br>alert(ary "" b); <br>} <br></script>--%> <br><br></head> <br><본문> <br><form id="form1" runat="server"> <br><div> <br><asp:Button runat="server" ID="btn" Text="asd" /> <br><asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <br><input type="button" onclick="E();" value="ssss" /> <br></div> <br></form> <br></body> <br></html> <br> </div>