ModelManage/UserControl/DayTime/DayTime.ascx

(完整代码) 1KB

<%@ Control Language="C#" AutoEventWireup="true" CodeFile="DayTime.ascx.cs" Inherits="UserControl_DayTime_DayTime" %>
<link href="../../Css/pikaday.css" rel="stylesheet" type="text/css" />
<div style="width: 300px;">
    <asp:TextBox ID="txtCalendar" runat="server" Width="80px"></asp:TextBox>
    <asp:DropDownList ID="ddlHour" runat="server" Width="55px">
    </asp:DropDownList>
    <span style="text-align: center; font-weight: bold">:</span>
    <asp:DropDownList ID="ddlMin" runat="server" Width="55px">
    </asp:DropDownList>
    <asp:TextBox ID="txtHour" runat="server" Width="0px"></asp:TextBox>
    <asp:TextBox ID="txtMin" runat="server" Width="0px"></asp:TextBox>
</div>
 <script src="../../Js/formvalidator4.0.1/jquery-1.4.4.min.js" type="text/javascript"></script>
<script src="../../Js/pikaday.js" type="text/javascript"></script>
<script type="text/javascript">
    var picker1 = new Pikaday({
        field: document.getElementById('<%= txtCalendar.ClientID%>') 
    });
    $("#<%= ddlHour.ClientID%>").bind("change", function () {
        $("#<%= txtHour.ClientID%>").val($("#<%= ddlHour.ClientID%>").val());
    });
    $("#<%= ddlMin.ClientID%>").bind("change", function () {
        $("#<%= txtMin.ClientID%>").val($("#<%= ddlMin.ClientID%>").val());
    }); 
</script>

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。