<html>
<head>
<title>创建一个asp.net按钮</title>
<script type="text/javascript">
window.onload=function()
{
document.getElementById("Test").innerHTML="<asp:Button ID='Submit' runat='server' class='text_xiangx' Height='47px' "
+"Width='164px' style='background-image:url(../../../UserWeb/Img/LoginIMG/Submit.jpg);border:0px;' />";
}
</script>
</head><body>
<table width="660" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td id="Test">&nbsp;</td>
  </tr>
</table>
</body>
</html>