时间下拉菜单实现

 
利用WdatePicker日历控件实现以上效果。class="Wdate"文本框后会出现小图标
实现代码如下:
 
<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
<script src="js/My97DatePicker/WdatePicker.js" type="text/javascript"></script>


    
</head>
<body>
    <form id="form1" runat="server">
    <div id='aa'>
       <asp:TextBox ID="f_time" runat="server" Width="176px" onfocus="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="Wdate"></asp:TextBox></div>
    </form>
</body>
</html>

 
 

你可能感兴趣的:(XHTML,server,Class,asp,日历,textbox)