您的位置:首页 > Web前端 > JavaScript

Using JavaScript to show the current time for the end user

2005-12-29 20:38 597 查看
<%@ Page Language=”VB” %>
<html xmlns=”http://www.w3.org/1999/xhtml” >
<head runat=”server”>
<title>Using JavaScript</title>
</head>

<body onload=”javascript:document.forms[0][‘TextBox1’].value=Date();”>
<form id=”form1” runat=”server”>
<div>
<asp:TextBox ID=”TextBox1” Runat=”server” Width=”300”></asp:TextBox>
</div>
</form>
</body>
</html>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐