例如:
<body>
<form id="form1" runat="server">
<div id="contact" style="width:150px;height:450px; float:left">
</div>
</form>
</body>
uj5u.com熱心網友回復:
var div=document.getElementById("contact");div.innerHTML="Hello world!";
轉載請註明出處,本文鏈接:https://www.uj5u.com/net/233304.html
標籤:ASP.NET
上一篇:c#調C++介面?
下一篇:字串截取問題
